- All Implemented Interfaces:
AwsCredentials,AwsCredentialsIdentity,Identity
- See Also:
Method Details
create
Constructs a new credentials object, with the specified AWS access key and AWS secret key.
- Parameters:
accessKeyId- The AWS access key, used to identify the user interacting with AWS.secretAccessKey- The AWS secret access key, used to authenticate the user interacting with AWS.
accessKeyId
Retrieve the AWS access key, used to identify the user interacting with AWS.
- Specified by:
accessKeyIdin interfaceAwsCredentialsIdentity
secretAccessKey
public String secretAccessKey()Retrieve the AWS secret access key, used to authenticate the user interacting with AWS.
- Specified by:
secretAccessKeyin interfaceAwsCredentialsIdentity
toString
equals
public boolean equals(Object o) hashCode
public int hashCode()