Package org.apache.hadoop.fs.s3a.auth
Class AbstractAWSCredentialProvider
java.lang.Object
org.apache.hadoop.fs.s3a.auth.AbstractAWSCredentialProvider
- All Implemented Interfaces:
software.amazon.awssdk.auth.credentials.AwsCredentialsProvider,software.amazon.awssdk.identity.spi.IdentityProvider<software.amazon.awssdk.identity.spi.AwsCredentialsIdentity>
- Direct Known Subclasses:
AbstractSessionCredentialsProvider,ProfileAWSCredentialsProvider
public abstract class AbstractAWSCredentialProvider
extends Object
implements software.amazon.awssdk.auth.credentials.AwsCredentialsProvider
Base class for AWS credential providers which
take a URI and config in their constructor.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAWSCredentialProvider(URI uri, org.apache.hadoop.conf.Configuration conf) Construct from URI + configuration. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.auth.credentials.AwsCredentialsProvider
identityType, resolveCredentials, resolveIdentityMethods inherited from interface software.amazon.awssdk.identity.spi.IdentityProvider
resolveIdentity, resolveIdentity
-
Constructor Details
-
AbstractAWSCredentialProvider
protected AbstractAWSCredentialProvider(@Nullable URI uri, org.apache.hadoop.conf.Configuration conf) Construct from URI + configuration.- Parameters:
uri- URI: may be null.conf- configuration.
-
-
Method Details
-
getConf
public org.apache.hadoop.conf.Configuration getConf() -
getUri
Get the binding URI: may be null.- Returns:
- the URI this instance was constructed with, if any.
-