Documentation ¶
Index ¶
- type RAMClient
- func (c *RAMClient) AttachPolicy(userName, policyName, policyType string) error
- func (c *RAMClient) CreateAccessKey(userName string) (*ram.CreateAccessKeyResponse, error)
- func (c *RAMClient) CreatePolicy(policyName, policyDoc string) (*ram.CreatePolicyResponse, error)
- func (c *RAMClient) CreateUser(userName string) (*ram.CreateUserResponse, error)
- func (c *RAMClient) DeleteAccessKey(userName, accessKeyID string) error
- func (c *RAMClient) DeletePolicy(policyName string) error
- func (c *RAMClient) DeleteUser(userName string) error
- func (c *RAMClient) DetachPolicy(userName, policyName, policyType string) error
- type STSClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RAMClient ¶
type RAMClient struct {
// contains filtered or unexported fields
}
func NewRAMClient ¶
func (*RAMClient) AttachPolicy ¶
func (*RAMClient) CreateAccessKey ¶
func (c *RAMClient) CreateAccessKey(userName string) (*ram.CreateAccessKeyResponse, error)
func (*RAMClient) CreatePolicy ¶
func (c *RAMClient) CreatePolicy(policyName, policyDoc string) (*ram.CreatePolicyResponse, error)
func (*RAMClient) CreateUser ¶
func (c *RAMClient) CreateUser(userName string) (*ram.CreateUserResponse, error)
func (*RAMClient) DeleteAccessKey ¶
func (*RAMClient) DeletePolicy ¶
func (*RAMClient) DeleteUser ¶
Note: deleteUser will fail if the user is presently associated with anything in Alibaba.
func (*RAMClient) DetachPolicy ¶
type STSClient ¶
type STSClient struct {
// contains filtered or unexported fields
}
func NewSTSClient ¶
func (*STSClient) AssumeRole ¶
func (c *STSClient) AssumeRole(roleSessionName, roleARN string) (*sts.AssumeRoleResponse, error)
Click to show internal directories.
Click to hide internal directories.