UNPKG

@smithy/credential-provider-imds

Version:

AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service

20 lines (19 loc) 447 B
import { AwsCredentialIdentity } from "@smithy/types"; /** * @internal */ export interface ImdsCredentials { AccessKeyId: string; SecretAccessKey: string; Token: string; Expiration: string; AccountId?: string; } /** * @internal */ export declare const isImdsCredentials: (arg: any) => arg is ImdsCredentials; /** * @internal */ export declare const fromImdsCredentials: (creds: ImdsCredentials) => AwsCredentialIdentity;