Versions in this module Expand all Collapse all v0 v0.9.0 Mar 19, 2016 Changes in this version + const ProviderName + var DefaultDuration = time.Duration(15) * time.Minute + func NewCredentials(c client.ConfigProvider, roleARN string, options ...func(*AssumeRoleProvider)) *credentials.Credentials + func NewCredentialsWithClient(svc AssumeRoler, roleARN string, options ...func(*AssumeRoleProvider)) *credentials.Credentials + type AssumeRoleProvider struct + Client AssumeRoler + Duration time.Duration + ExpiryWindow time.Duration + ExternalID *string + RoleARN string + RoleSessionName string + func (p *AssumeRoleProvider) Retrieve() (credentials.Value, error) + type AssumeRoler interface + AssumeRole func(input *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)