public final class DefaultAwsCredentialsIdentity extends Object implements AwsCredentialsIdentity
| Modifier and Type | Method and Description |
|---|---|
String |
accessKeyId()
Retrieve the AWS access key, used to identify the user interacting with services.
|
Optional<String> |
accountId()
Retrieve the AWS account id associated with this credentials identity, if found.
|
static AwsCredentialsIdentity.Builder |
builder() |
boolean |
equals(Object o) |
int |
hashCode() |
Optional<String> |
providerName()
The source that resolved this identity, normally an identity provider.
|
String |
secretAccessKey()
Retrieve the AWS secret access key, used to authenticate the user interacting with services.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateexpirationTimepublic static AwsCredentialsIdentity.Builder builder()
builder in interface AwsCredentialsIdentitypublic String accessKeyId()
AwsCredentialsIdentityaccessKeyId in interface AwsCredentialsIdentitypublic String secretAccessKey()
AwsCredentialsIdentitysecretAccessKey in interface AwsCredentialsIdentitypublic Optional<String> providerName()
IdentityproviderName in interface Identitypublic Optional<String> accountId()
AwsCredentialsIdentityaccountId in interface AwsCredentialsIdentityCopyright © 2026. All rights reserved.