Versions in this module Expand all Collapse all v1 v1.48.2 Nov 21, 2023 Changes in this version + const ProviderName + func NewCredentialsClient(cfg aws.Config, handlers request.Handlers, endpoint string, ...) *credentials.Credentials + func NewProviderClient(cfg aws.Config, handlers request.Handlers, endpoint string, ...) credentials.Provider + type AuthTokenProvider interface + GetToken func() (string, error) + type Provider struct + AuthorizationToken string + AuthorizationTokenProvider AuthTokenProvider + Client *client.Client + ExpiryWindow time.Duration + func (p *Provider) IsExpired() bool + func (p *Provider) Retrieve() (credentials.Value, error) + func (p *Provider) RetrieveWithContext(ctx credentials.Context) (credentials.Value, error) + type TokenProviderFunc func() (string, error) + func (p TokenProviderFunc) GetToken() (string, error)