Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreateUser(username string) (*iam.AccessKey, error) DeleteUser(username string) error CreatePolicyAndAttach(username string, policyName string, policyDocument string) (string, error) GetPolicyVersion(policyName string) (string, error) UpdatePolicy(policyName string, policyDocument string) (string, error) DeletePolicyAndDetach(username string, policyName string) error }
Client defines IAM Client operations
type PolicyDocument ¶
type PolicyDocument struct { Version string Statement []StatementEntry }
PolicyDocument is the structure of IAM policy document
Click to show internal directories.
Click to hide internal directories.