@ThreadSafe public interface AwsCredentialsIdentity extends Identity
For more details on AWS access keys, see: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
AwsSessionCredentialsIdentity| Modifier and Type | Interface and Description |
|---|---|
static interface |
AwsCredentialsIdentity.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessKeyId()
Retrieve the AWS access key, used to identify the user interacting with services.
|
static AwsCredentialsIdentity.Builder |
builder() |
static AwsCredentialsIdentity |
create(String accessKeyId,
String secretAccessKey)
Constructs a new credentials object, with the specified AWS access key and AWS secret key.
|
String |
secretAccessKey()
Retrieve the AWS secret access key, used to authenticate the user interacting with services.
|
expirationTimeString accessKeyId()
String secretAccessKey()
static AwsCredentialsIdentity.Builder builder()
static AwsCredentialsIdentity create(String accessKeyId, String secretAccessKey)
accessKeyId - The AWS access key, used to identify the user interacting with services.secretAccessKey - The AWS secret access key, used to authenticate the user interacting with services.Copyright © 2023. All rights reserved.