An object representing temporary or permanent AWS credentials.

Deprecated

Use AwsCredentialIdentity

interface Credentials {
    accessKeyId: string;
    credentialScope?: string;
    expiration?: Date;
    secretAccessKey: string;
    sessionToken?: string;
}

Hierarchy (view full)

Properties

accessKeyId: string

AWS access key ID

credentialScope?: string

AWS credential scope for this set of credentials.

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.