Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

An object representing temporary or permanent AWS credentials.

Deprecated

Use AwsCredentialIdentity

Hierarchy

Properties

accessKeyId: string

AWS access key ID

expiration?: Date

A Date when the identity or credential will no longer be accepted.

secretAccessKey: string

AWS secret access key

sessionToken?: string

A security or session token to use with these credentials. Usually present for temporary credentials.