class

Aws::Credentials::AssumeRoleWithWebIdentityProvider

Inherits Aws::Credentials::Provider / Reference / Object

Resolving credential via AWS Security Token Service(STS) as assume role.

https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html

Constructors

new(role_session_name : String, role_arn : String | Nil = nil, web_identity_token : String | Nil = nil, sts_client : STSClient | Nil = nil, duration : Time::Span | Nil = nil, policy : JSON::Any | Nil = nil, logger : Log = ::Log.for("AWS.Credentials"))
Source

Instance methods

credentials

Resolving AWS::Credentials::Credentials.

Credential not resolvable then raise Aws::Credentials||MissingCredentials error.

Source
refresh

Clear cache and reload credential from source.

Source