@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, toString
getConf, getUri
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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 AbstractSessionCredentialsProvider
config
- the configurationCredentialInitializationException
- validation failureIOException
- on a failureCopyright © 2008–2024 Apache Software Foundation. All rights reserved.