Versions in this module Expand all Collapse all v1 v1.11.0 Dec 6, 2022 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 + func StdinTokenProvider() (string, error) + type AssumeRoleProvider struct + Client AssumeRoler + Duration time.Duration + ExpiryWindow time.Duration + ExternalID *string + Policy *string + RoleARN string + RoleSessionName string + SerialNumber *string + TokenCode *string + TokenProvider func() (string, error) + func (p *AssumeRoleProvider) Retrieve() (credentials.Value, error) + type AssumeRoler interface + AssumeRole func(input *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)