class

Amazonite::Core::AssumeRoleCredentialsProvider

Inherits Amazonite::Core::CredentialsProvider < Reference < Object

Resolves credentials via STS AssumeRole, using the role_arn/ source_profile chaining configured in ~/.aws/config for the active profile.

Constants

EXCEPTION_FACTORY = AssumeRoleExceptionFactory.new

Constructors

new(ini_parser : IniParser, env : Fetcher)
Source

Instance methods

credentials

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

Source