public class STSAssumeRoleWithWebIdentitySessionCredentialsProvider extends Object implements AWSSessionCredentialsProvider, Closeable
| 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 © 2023. All rights reserved.