@InterfaceAudience.Private @InterfaceStability.Unstable public class MarshalledCredentialProvider extends AbstractSessionCredentialsProvider
AbstractSessionCredentialsProvider.NoCredentials| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Name: "org.apache.hadoop.fs.s3a.auth.MarshalledCredentialProvider".
|
| Constructor and Description |
|---|
MarshalledCredentialProvider(String component,
URI uri,
org.apache.hadoop.conf.Configuration conf,
MarshalledCredentials credentials,
MarshalledCredentials.CredentialTypeRequired typeRequired)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected software.amazon.awssdk.auth.credentials.AwsCredentials |
createCredentials(org.apache.hadoop.conf.Configuration config)
Perform the binding, looking up the DT and parsing it.
|
getInitializationException, hasCredentials, init, isInitialized, resolveCredentials, toStringgetConf, getUriclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String NAME
public MarshalledCredentialProvider(String component, URI uri, org.apache.hadoop.conf.Configuration conf, MarshalledCredentials credentials, MarshalledCredentials.CredentialTypeRequired typeRequired) throws IOException
component - component name for exception messages.uri - filesystem URI: must not be null.conf - configuration.credentials - marshalled credentials.typeRequired - credential type required.CredentialInitializationException - validation failureIOException - failureprotected software.amazon.awssdk.auth.credentials.AwsCredentials createCredentials(org.apache.hadoop.conf.Configuration config)
throws IOException
createCredentials in class AbstractSessionCredentialsProviderconfig - the configurationCredentialInitializationException - validation failureIOException - on a failureCopyright © 2008–2024 Apache Software Foundation. All rights reserved.