Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct { IAM iamiface.IAMAPI STS stsiface.STSAPI // contains filtered or unexported fields }
AWS ...
func (*AWS) AssumeRole ¶
func (a *AWS) AssumeRole(role string) (*sts.Credentials, error)
AssumeRole will assume a role from the name
func (*AWS) CredentialLocation ¶
CredentialLocation returns the location the AWS credentials will be stored in. Defaults to ~/.aws/credentials
func (*AWS) GetCredential ¶
func (a *AWS) GetCredential(roleID string) (*role.Credential, error)
GetCredential takes in a role ID and returns a set of wrapped credentials, or an error
Click to show internal directories.
Click to hide internal directories.