Class DefaultAwsSessionCredentialsIdentity
java.lang.Object
software.amazon.awssdk.identity.spi.internal.DefaultAwsSessionCredentialsIdentity
- All Implemented Interfaces:
AwsCredentialsIdentity
,AwsSessionCredentialsIdentity
,Identity
public final class DefaultAwsSessionCredentialsIdentity
extends Object
implements AwsSessionCredentialsIdentity
-
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.Retrieve the AWS session token.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
-
accountId
Description copied from interface:AwsCredentialsIdentity
Retrieve the AWS account id associated with this credentials identity, if found.- Specified by:
accountId
in interfaceAwsCredentialsIdentity
-
sessionToken
Description copied from interface:AwsSessionCredentialsIdentity
Retrieve the AWS session token. This token is retrieved from an AWS token service, and is used for authenticating that this user has received temporary permission to access some resource.- Specified by:
sessionToken
in interfaceAwsSessionCredentialsIdentity
-
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
-
toString
-
equals
-
hashCode
-