Class DefaultAwsCredentialsIdentity
java.lang.Object
software.amazon.awssdk.identity.spi.internal.DefaultAwsCredentialsIdentity
- All Implemented Interfaces:
AwsCredentialsIdentity
,Identity
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the AWS access key, used to identify the user interacting with services.Retrieve the AWS account id associated with this credentials identity, if found.builder()
boolean
int
hashCode()
The source that resolved this identity, normally an identity provider.Retrieve the AWS secret access key, used to authenticate the user interacting with services.toString()
Methods inherited from interface software.amazon.awssdk.identity.spi.Identity
expirationTime
-
Method Details
-
builder
-
accessKeyId
Description copied from interface:AwsCredentialsIdentity
Retrieve the AWS access key, used to identify the user interacting with services.- Specified by:
accessKeyId
in interfaceAwsCredentialsIdentity
-
secretAccessKey
Description copied from interface:AwsCredentialsIdentity
Retrieve the AWS secret access key, used to authenticate the user interacting with services.- Specified by:
secretAccessKey
in interfaceAwsCredentialsIdentity
-
providerName
Description copied from interface:Identity
The source that resolved this identity, normally an identity provider. Note that this string value would be set by an identity provider implementation and is intended to be used for for tracking purposes. Avoid building logic on its value.- Specified by:
providerName
in interfaceIdentity
-
accountId
Description copied from interface:AwsCredentialsIdentity
Retrieve the AWS account id associated with this credentials identity, if found.- Specified by:
accountId
in interfaceAwsCredentialsIdentity
-
toString
-
equals
-
hashCode
public int hashCode()
-