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()booleaninthashCode()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:AwsCredentialsIdentityRetrieve the AWS access key, used to identify the user interacting with services.- Specified by:
accessKeyIdin interfaceAwsCredentialsIdentity
-
secretAccessKey
Description copied from interface:AwsCredentialsIdentityRetrieve the AWS secret access key, used to authenticate the user interacting with services.- Specified by:
secretAccessKeyin interfaceAwsCredentialsIdentity
-
accountId
Description copied from interface:AwsCredentialsIdentityRetrieve the AWS account id associated with this credentials identity, if found.- Specified by:
accountIdin interfaceAwsCredentialsIdentity
-
sessionToken
Description copied from interface:AwsSessionCredentialsIdentityRetrieve 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:
sessionTokenin interfaceAwsSessionCredentialsIdentity
-
providerName
Description copied from interface:IdentityThe 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:
providerNamein interfaceIdentity
-
toString
-
equals
-
hashCode
-