class Aws::Credentials::AssumeRoleProvider
- Aws::Credentials::AssumeRoleProvider
- Reference
- Object
Overview
Resolving credential via AWS Security Token Service(STS) as assume role.
https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
Included Modules
Defined in:
aws-credentials/provider/assume_role_provider.crConstructors
Instance Method Summary
-
#credentials : Credentials
Resolving
AWS::Credentials::Credentials
.
Instance methods inherited from module Aws::Credentials::Provider
credentials : Credentials
credentials,
credentials? : Credentials | Nil
credentials?,
refresh : Nil
refresh
Constructor Detail
def self.new(role_arn : String, role_session_name : String, sts_client : STSClient, duration : Time::Span | Nil = nil, policy : JSON::Any | Nil = nil)
#
Instance Method Detail
def credentials : Credentials
#
Description copied from module Aws::Credentials::Provider
Resolving AWS::Credentials::Credentials
.
Credential not resolvable then raise Aws::Credentials||MissingCredentials
error.