Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssumeRoleWithCreds ¶
type AssumeRoleWithCreds struct { BaseRoleCreds awsokta.AWSCreds TargetRoleARN string // Opts must have had ApplyDefaults and Validate called Opts Opts }
func (AssumeRoleWithCreds) Assume ¶
func (a AssumeRoleWithCreds) Assume() (Creds, error)
TODO: needs testing
type ErrAssumeRoleDurationOOB ¶
func (*ErrAssumeRoleDurationOOB) Error ¶
func (e *ErrAssumeRoleDurationOOB) Error() string
type Opts ¶
type Opts struct { AssumeRoleDuration time.Duration // if unset, no session caching will be done SessionCache SessionCache Log *logrus.Logger RoleSessionName string }
func (*Opts) ApplyDefaults ¶
Click to show internal directories.
Click to hide internal directories.