Package com.amazonaws.auth
Class AnonymousAWSCredentials
java.lang.Object
com.amazonaws.auth.AnonymousAWSCredentials
- All Implemented Interfaces:
AWSCredentials
Basic implementation of the AWSCredentials interface that allows use of "anonymous"
credentials. Using anonymous credentials will result in requests not being signed
before sending to the service. Any service that does not accept unsigned requests
will return a service exception in this case.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the AWS access key ID for this credentials object.Returns the AWS secret access key for this credentials object.
-
Constructor Details
-
AnonymousAWSCredentials
public AnonymousAWSCredentials()
-
-
Method Details
-
getAWSAccessKeyId
Description copied from interface:AWSCredentials
Returns the AWS access key ID for this credentials object.- Specified by:
getAWSAccessKeyId
in interfaceAWSCredentials
- Returns:
- The AWS access key ID for this credentials object.
-
getAWSSecretKey
Description copied from interface:AWSCredentials
Returns the AWS secret access key for this credentials object.- Specified by:
getAWSSecretKey
in interfaceAWSCredentials
- Returns:
- The AWS secret access key for this credentials object.
-