public class WebIdentityTokenCredentialsProvider extends Object implements AWSCredentialsProvider
Modifier and Type | Class and Description |
---|---|
static interface |
WebIdentityTokenCredentialsProvider.Builder
A builder for creating a custom
WebIdentityTokenCredentialsProvider . |
Constructor and Description |
---|
WebIdentityTokenCredentialsProvider() |
Modifier and Type | Method and Description |
---|---|
static WebIdentityTokenCredentialsProvider.Builder |
builder() |
static WebIdentityTokenCredentialsProvider |
create() |
AWSCredentials |
getCredentials()
Returns AWSCredentials which the caller can use to authorize an AWS request.
|
void |
refresh()
Forces this credentials provider to refresh its credentials.
|
String |
toString() |
public AWSCredentials getCredentials()
AWSCredentialsProvider
getCredentials
in interface AWSCredentialsProvider
public void refresh()
AWSCredentialsProvider
refresh
in interface AWSCredentialsProvider
public static WebIdentityTokenCredentialsProvider create()
public static WebIdentityTokenCredentialsProvider.Builder builder()
Copyright © 2020. All rights reserved.