class Amazonite::Core::SsoCredentialsProvider

Overview

SSO cached-token credentials, i.e. the local state aws sso login writes

note the two timestamps involved use different formats: the cache file's expiresAt is ISO-8601, but GetRoleCredentials' expiration is epoch milliseconds

Defined in:

core/sso_credentials_provider.cr

Constructors

Instance Method Summary

Instance methods inherited from class Amazonite::Core::CredentialsProvider

credentials : Credentials | Nil credentials

Constructor Detail

def self.new(ini_parser : IniParser, env : Fetcher, cache_dir : Path = ((Path.home / ".aws") / "sso") / "cache") #

[View source]

Instance Method Detail

def credentials : Credentials | Nil #
Description copied from class Amazonite::Core::CredentialsProvider

returns nil when this provider's prerequisite configuration isn't present, so the chain falls through to the next provider


[View source]