StsWebIdentityCredentialsProvider
A CredentialsProvider that exchanges a Web Identity Token for credentials from the AWS Security Token Service (STS).
Parameters
The ARN of the target role to assume, e.g. arn:aws:iam:123456789:role/example
The path to the file containing a JWT token
The AWS region to assume the role in
The name to associate with the session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. In cross-account scenarios, the role session name is visible to, and can be logged by the account that owns the role. The role session name is also in the ARN of the assumed role principal.
The expiry duration of the credentials. Defaults to 15 minutes if not set.
The platform API provider
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.
Parameters
The parameters to pass to the AssumeRoleWithWebIdentity
call
The AWS region to assume the role in
The platform API provider
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.