Package org.apache.hadoop.fs.s3a
Class SimpleAWSCredentialsProvider
java.lang.Object
org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider
- All Implemented Interfaces:
software.amazon.awssdk.auth.credentials.AwsCredentialsProvider,software.amazon.awssdk.identity.spi.IdentityProvider<software.amazon.awssdk.identity.spi.AwsCredentialsIdentity>
@Public
@Stable
public class SimpleAWSCredentialsProvider
extends Object
implements software.amazon.awssdk.auth.credentials.AwsCredentialsProvider
Support simple credentials for authenticating with AWS.
Please note that users may reference this class name from configuration
property fs.s3a.aws.credentials.provider. Therefore, changing the class name
would be a backward-incompatible change.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleAWSCredentialsProvider(URI uri, Configuration conf) Build the credentials from a filesystem URI and configuration. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.auth.credentials.AwsCredentialstoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.auth.credentials.AwsCredentialsProvider
identityType, resolveIdentityMethods inherited from interface software.amazon.awssdk.identity.spi.IdentityProvider
resolveIdentity, resolveIdentity
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SimpleAWSCredentialsProvider
Build the credentials from a filesystem URI and configuration.- Parameters:
uri- FS URIconf- configuration containing secrets/references to.- Throws:
IOException- failure
-
-
Method Details