public class STSAssumeRoleWithWebIdentitySessionCredentialsProvider extends Object implements AWSSessionCredentialsProvider, Closeable
Migrating to the AWS SDK for Java v2
The v2 equivalent of this class is StsAssumeRoleWithWebIdentityCredentialsProvider
See Migration Guide for more information.
| Modifier and Type | Class and Description |
|---|---|
static class |
STSAssumeRoleWithWebIdentitySessionCredentialsProvider.Builder
Provides a builder pattern to avoid combinatorial explosion of the number of parameters that
are passed to constructors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shut down this credentials provider, shutting down the thread that performs asynchronous credential refreshing.
|
AWSSessionCredentials |
getCredentials() |
void |
refresh() |
public AWSSessionCredentials getCredentials()
getCredentials in interface AWSCredentialsProvidergetCredentials in interface AWSSessionCredentialsProviderpublic void refresh()
refresh in interface AWSCredentialsProviderpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2024. All rights reserved.