Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential = api.Credential
func AssumeNamedRole ¶
func AssumeNamedRole(creds Credential, accountNumber string, roleNameToAssume string) (Credential, error)
Given a set of credentials, an account number, and a role name to assume, this function returns a new set of credentials with the given role, or an error if it could not be assumed
Click to show internal directories.
Click to hide internal directories.