AwsSessionCredentials@Immutable public class AwsCredentials extends Object
For more details on AWS access keys, see: http://docs.amazonwebservices.com/AWSSecurityCredentials/1.0/AboutAWSCredentials.html#AccessKeys
AwsCredentialsProvider| Constructor | Description |
|---|---|
AwsCredentials(String accessKeyId,
String secretAccessKey) |
Constructs a new credentials object, with the specified AWS access key, AWS secret key and AWS session token.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
accessKeyId() |
Retrieve the AWS access key, used to identify the user interacting with AWS.
|
boolean |
equals(Object o) |
|
int |
hashCode() |
|
String |
secretAccessKey() |
Retrieve the AWS secret access key, used to authenticate the user interacting with AWS.
|
String |
toString() |
public AwsCredentials(String accessKeyId, String secretAccessKey)
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.