UNPKG

566 BTypeScriptView Raw
1import { Identity, IdentityProvider } from "./Identity";
2/**
3 * @public
4 */
5export interface AwsCredentialIdentity extends Identity {
6 /**
7 * AWS access key ID
8 */
9 readonly accessKeyId: string;
10 /**
11 * AWS secret access key
12 */
13 readonly secretAccessKey: string;
14 /**
15 * A security or session token to use with these credentials. Usually
16 * present for temporary credentials.
17 */
18 readonly sessionToken?: string;
19}
20/**
21 * @public
22 */
23export type AwsCredentialIdentityProvider = IdentityProvider<AwsCredentialIdentity>;