Documentation ¶
Index ¶
- func AddAtlasStatementToAWSIAMRole(atlasAWSAccountArn, atlasAssumedRoleExternalId, roleName string) error
- func AddAtlasStatementToRole(roles []Role, roleStatuses []status.CloudProviderIntegration) error
- func CreateAWSIAMRole(roleName string) (string, error)
- func CreateRoles(roles []Role) error
- func DeleteAWSIAMRoleByArn(arn string) error
- func DeleteCloudProviderIntegrations(roles []akov2.CloudProviderIntegration) []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.CloudProviderIntegration) error
func CreateAWSIAMRole ¶
func CreateRoles ¶
func DeleteAWSIAMRoleByArn ¶
func DeleteCloudProviderIntegrations ¶ added in v2.1.0
func DeleteCloudProviderIntegrations(roles []akov2.CloudProviderIntegration) []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 akov2.CloudProviderIntegration }
type StringEquals ¶
type StringEquals struct {
StsExternalId string `json:"sts:ExternalId,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.