Class StsAssumeRoleForFederatedCredentialsProvider

java.lang.Object
org.apache.beam.sdk.io.aws2.auth.StsAssumeRoleForFederatedCredentialsProvider
All Implemented Interfaces:
AutoCloseable, AwsCredentialsProvider, SdkAutoCloseable

public abstract class StsAssumeRoleForFederatedCredentialsProvider extends Object implements AwsCredentialsProvider, SdkAutoCloseable
An implementation of AwsCredentialsProvider that periodically sends an AssumeRoleWithWebIdentityRequest to the AWS Security Token Service to maintain short-lived sessions to use for authentication. In particular this class will use a StsAssumeRoleWithWebIdentityCredentialsProvider instance as a delegate for the actual implementation but it takes care of retrieving a refreshed web id token with every credential's resolution request. This is created using builder().
See Also: