Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CreateAllOpts captures the options that affect creation/updating // of the generated objects. CreateAllOpts = options{ TargetDir: "", } )
View Source
var ( // CreateIAMRolesOpts captures the options that affect creation/updating // of the IAM Roles. CreateIAMRolesOpts = options{ TargetDir: "", EnableTechPreview: false, } )
View Source
var (
// CreateIdentityProviderOpts captures the options that affect creation of the identity provider
CreateIdentityProviderOpts = options{
Name: "",
Region: "",
PublicKeyPath: "",
TargetDir: "",
}
)
View Source
var ( // DeleteOpts captures the options that affect deletion // of the generated objects. DeleteOpts = options{} )
Functions ¶
func NewCreateAllCmd ¶
NewCreateAllCmd provides the "create-all" subcommand
func NewCreateIAMRolesCmd ¶
NewCreateIAMRolesCmd provides the "create-iam-roles" subcommand
func NewCreateIdentityProviderCmd ¶
NewCreateIdentityProviderCmd provides the "create-identity-provider" subcommand
func NewDeleteCmd ¶
NewDeleteCmd implements the "delete" command for the credentials provisioning
Types ¶
type PolicyDocument ¶
type PolicyDocument struct { Version string Statement []StatementEntry }
PolicyDocument is a simple type used to serialize to AWS' PolicyDocument format.
type StatementEntry ¶
type StatementEntry struct { Effect string Action []string Resource string // Must "omitempty" otherwise we send unacceptable JSON to the AWS API when no // condition is defined. Condition credreqv1.IAMPolicyCondition `json:",omitempty"` }
StatementEntry is a simple type used to serialize to AWS' PolicyDocument format.
Click to show internal directories.
Click to hide internal directories.