public class WebIdentityProvider
extends java.lang.Object
implements com.amazonaws.auth.AWSCredentialsProvider
| Constructor and Description |
|---|
WebIdentityProvider(java.net.URI uri,
org.apache.hadoop.conf.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.auth.AWSCredentials |
getCredentials() |
com.amazonaws.auth.WebIdentityFederationSessionCredentialsProvider |
instantiate(java.nio.file.Path tokenFile,
java.lang.String role) |
void |
refresh() |
public WebIdentityProvider(java.net.URI uri,
org.apache.hadoop.conf.Configuration configuration)
throws java.io.IOException
java.io.IOExceptionpublic com.amazonaws.auth.WebIdentityFederationSessionCredentialsProvider instantiate(java.nio.file.Path tokenFile,
java.lang.String role)
throws java.io.IOException
java.io.IOExceptionpublic com.amazonaws.auth.AWSCredentials getCredentials()
getCredentials in interface com.amazonaws.auth.AWSCredentialsProviderpublic void refresh()
refresh in interface com.amazonaws.auth.AWSCredentialsProvider