class
Amazonite::Core::SsoCredentialsProvider
Overview
SSO cached-token credentials, i.e. the local state aws sso login writes
- https://docs.aws.amazon.com/sdkref/latest/guide/access-sso.html
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.crConstructors
Instance Method Summary
-
#credentials : Credentials | Nil
returns nil when this provider's prerequisite configuration isn't present, so the chain falls through to the next provider
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")
#
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