Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CreateRAMUsersOpts captures the options that affect creation/updating // of the RAM Uers/Policies. CreateRAMUsersOpts = options{ Region: "", TargetDir: "", Name: "", CredRequestDir: "", } )
View Source
var (
// DeleteRAMUsersOpts captures the options that affect detaching of ram roles.
DeleteRAMUsersOpts = options{
Region: "",
Name: "",
}
)
Functions ¶
func NewAliababaCloudCmd ¶
NewAliababaCloudCmd implements the "alibabacloud" subcommand for the credentials provisioning
func NewCreateRAMUsersCmd ¶
NewCreateRAMUsersCmd provides the "create-ram-users" subcommand
func NewDeleteRAMUsersCmd ¶
NewDeleteRAMUsersCmd provides the "delete-ram-users" subcommand
Types ¶
type ARN ¶
type ARN struct { // The partition that the resource is in. Partition string // The service namespace that identifies the product (for example, RAM). Service string // The region the resource resides in. Note that the ARNs for some resources do not require a region, so this // component might be omitted. Region string // The ID of the RAM account that owns the resource, without the hyphens. For example, 123456789012. Note that the // ARNs for some resources don't require an account number, so this component might be omitted. AccountID string // The content of this part of the ARN varies by service. Resource string }
ARN captures the individual fields of an RAM Resource Name.
type PolicyDocument ¶
type PolicyDocument struct { Version string Statement []StatementEntry }
PolicyDocument is a simple type used to serialize to Alibaba Cloud' PolicyDocument format.
type StatementEntry ¶
StatementEntry is a simple type used to serialize to Alibaba Cloud' PolicyDocument format.
Click to show internal directories.
Click to hide internal directories.