StsAssumeRoleCredentialsProvider
A CredentialsProvider that uses another provider to assume a role from the AWS Security Token Service (STS).
When asked to provide credentials, this provider will first invoke the inner credentials provider to get AWS credentials for STS. Then, it will call STS to get assumed credentials for the desired role.
Parameters
The underlying provider to use for source credentials
The parameters to pass to the AssumeRole
call
The AWS region to assume the role in. If not set then the global STS endpoint will be used.
the HttpClientEngine instance to use to make requests. NOTE: This engine's resources and lifetime are NOT managed by the provider. Caller is responsible for closing.
Constructors
A CredentialsProvider that uses another provider to assume a role from the AWS Security Token Service (STS).