Interface AwsCredentialsIdentity
- All Superinterfaces:
- Identity
- All Known Subinterfaces:
- AwsCredentials,- AwsSessionCredentialsIdentity,- S3ExpressSessionCredentials
- All Known Implementing Classes:
- AwsBasicCredentials,- AwsSessionCredentials,- DefaultAwsCredentialsIdentity,- DefaultAwsSessionCredentialsIdentity,- DefaultS3ExpressSessionCredentials
Provides access to the AWS credentials used for accessing services: AWS access key ID and secret access key. These
 credentials are used to securely sign requests to services (e.g., AWS services) that use them for authentication.
 
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
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier 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()static AwsCredentialsIdentityConstructs a new credentials object, with the specified AWS access key and AWS secret key.Retrieve the AWS secret access key, used to authenticate the user interacting with services.Methods inherited from interface software.amazon.awssdk.identity.spi.IdentityexpirationTime, providerName
- 
Method Details- 
accessKeyIdString accessKeyId()Retrieve the AWS access key, used to identify the user interacting with services.
- 
secretAccessKeyString secretAccessKey()Retrieve the AWS secret access key, used to authenticate the user interacting with services.
- 
accountId
- 
builder
- 
createConstructs a new credentials object, with the specified AWS access key and AWS secret key.- Parameters:
- 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.
 
 
-