Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("cache entry not found")
Functions ¶
func CacheClear ¶
func CacheClear() error
func ConfigPath ¶
func ConfigPath() string
Types ¶
type AWSCredentials ¶
type AWSCredentials struct { AWSAccessKey string AWSSecretKey string AWSSessionToken string AWSSecurityToken string PrincipalARN string Expires time.Time }
func GetCredentialsWithOIDC ¶
func GetCredentialsWithOIDC(client *OIDCClient, idToken string, roleARN string, durationSeconds int64) (*AWSCredentials, error)
func (AWSCredentials) Valid ¶
func (cred AWSCredentials) Valid() bool
type AWSCredentialsJSON ¶
type OIDCClient ¶
type OIDCClient struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.