Documentation
¶
Index ¶
- func AddAtlasStatementToAWSIAMRole(atlasAWSAccountArn, atlasAssumedRoleExternalId, roleName string) error
- func AddAtlasStatementToRole(roles []Role, roleStatuses []status.CloudProviderAccessRole) error
- func CreateAWSIAMRole(roleName string) (string, error)
- func CreateRoles(roles []Role) error
- func DeleteAWSIAMRoleByArn(arn string) error
- func DeleteRoles(roles []v1.CloudProviderAccessRole) []error
- func EC2RolePolicyString() (string, error)
- func NameFromArn(arn string) string
- func PolicyWithAtlasArn(atlasAWSAccountArn, atlasAssumedRoleExternalId string) (string, error)
- type AssumeRolePolicyDocument
- type Condition
- type Principal
- type Role
- type Statement
- type StringEquals
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAtlasStatementToRole ¶
func AddAtlasStatementToRole(roles []Role, roleStatuses []status.CloudProviderAccessRole) error
func CreateAWSIAMRole ¶
func CreateRoles ¶
func DeleteAWSIAMRoleByArn ¶
func DeleteRoles ¶
func DeleteRoles(roles []v1.CloudProviderAccessRole) []error
func EC2RolePolicyString ¶
func NameFromArn ¶
func PolicyWithAtlasArn ¶
Types ¶
type Condition ¶
type Condition struct {
StringEquals StringEquals `json:"StringEquals,omitempty"`
}
type Role ¶
type Role struct { Name string AccessRole v1.CloudProviderAccessRole }
type StringEquals ¶
type StringEquals struct {
StsExternalId string `json:"sts:ExternalId,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.