Package org.apache.hadoop.fs.s3a
Class AnonymousAWSCredentialsProvider
java.lang.Object
org.apache.hadoop.fs.s3a.AnonymousAWSCredentialsProvider
- All Implemented Interfaces:
software.amazon.awssdk.auth.credentials.AwsCredentialsProvider,software.amazon.awssdk.identity.spi.IdentityProvider<software.amazon.awssdk.identity.spi.AwsCredentialsIdentity>
@Private
@Stable
public class AnonymousAWSCredentialsProvider
extends Object
implements software.amazon.awssdk.auth.credentials.AwsCredentialsProvider
AnonymousAWSCredentialsProvider supports anonymous access to AWS services
through the AWS SDK. AWS requests will not be signed. This is not suitable
for most cases, because allowing anonymous access to an S3 bucket compromises
security. This can be useful for accessing public data sets without
requiring AWS credentials.
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
Constructors -
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
-
AnonymousAWSCredentialsProvider
public AnonymousAWSCredentialsProvider()
-
-
Method Details