Package org.apache.hadoop.fs.s3a.auth
Class AbstractSessionCredentialsProvider.NoCredentials
java.lang.Object
org.apache.hadoop.fs.s3a.auth.AbstractSessionCredentialsProvider.NoCredentials
- All Implemented Interfaces:
software.amazon.awssdk.auth.credentials.AwsCredentials,software.amazon.awssdk.identity.spi.AwsCredentialsIdentity,software.amazon.awssdk.identity.spi.Identity
- Enclosing class:
- AbstractSessionCredentialsProvider
protected static final class AbstractSessionCredentialsProvider.NoCredentials
extends Object
implements software.amazon.awssdk.auth.credentials.AwsCredentials
A special set of null credentials which are not the anonymous class.
This will be interpreted as "this provider has no credentials to offer",
rather than an explicit error or anonymous access.
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.identity.spi.AwsCredentialsIdentity
software.amazon.awssdk.identity.spi.AwsCredentialsIdentity.Builder -
Constructor Summary
Constructors -
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.identity.spi.AwsCredentialsIdentity
accountIdMethods inherited from interface software.amazon.awssdk.identity.spi.Identity
expirationTime, providerName
-
Constructor Details
-
NoCredentials
protected NoCredentials()
-
-
Method Details
-
accessKeyId
- Specified by:
accessKeyIdin interfacesoftware.amazon.awssdk.identity.spi.AwsCredentialsIdentity
-
secretAccessKey
- Specified by:
secretAccessKeyin interfacesoftware.amazon.awssdk.identity.spi.AwsCredentialsIdentity
-