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

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractAWSCredentialProvider(URI uri, org.apache.hadoop.conf.Configuration conf)
    Construct from URI + configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.conf.Configuration
     
    Get the binding URI: may be null.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.awssdk.auth.credentials.AwsCredentialsProvider

    identityType, resolveCredentials, resolveIdentity

    Methods 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

      public URI getUri()
      Get the binding URI: may be null.
      Returns:
      the URI this instance was constructed with, if any.