Versions in this module Expand all Collapse all v1 v1.0.0 Oct 7, 2022 Changes in this version + func CacheFilename() string + func StdinStderrTokenProvider() (string, error) + func UserHomeDir() string + type FileCacheProvider struct + func NewFileCacheProvider(clusterID, profile, roleARN string, creds *credentials.Credentials) (FileCacheProvider, error) + func (f *FileCacheProvider) ExpiresAt() time.Time + func (f *FileCacheProvider) IsExpired() bool + func (f *FileCacheProvider) Retrieve() (credentials.Value, error) + type FormatError struct + func (e FormatError) Error() string + type Generator interface + FormatJSON func(Token) string + Get func(string) (Token, error) + GetWithOptions func(options *GetTokenOptions) (Token, error) + GetWithRole func(clusterID, roleARN string) (Token, error) + GetWithRoleForSession func(clusterID string, roleARN string, sess *session.Session) (Token, error) + GetWithSTS func(clusterID string, stsAPI stsiface.STSAPI) (Token, error) + func NewGenerator(forwardSessionName bool, cache bool) (Generator, error) + type GetTokenOptions struct + AssumeRoleARN string + AssumeRoleExternalID string + ClusterID string + Region string + Session *session.Session + SessionName string + type Identity struct + ARN string + AccessKeyID string + AccountID string + CanonicalARN string + SessionName string + UserID string + type STSError struct + func NewSTSError(m string) STSError + func (e STSError) Error() string + type Token struct + Expiration time.Time + Token string + type Verifier interface + Verify func(token string) (*Identity, error) + func NewVerifier(clusterID string, partitionID string) Verifier