UNPKG

@aws-sdk/credential-provider-ini

Version:

AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config

15 lines (14 loc) 479 B
import { AwsCredentialIdentity, Profile } from "@smithy/types"; import { FromIniInit } from "./fromIni"; export interface WebIdentityProfile extends Profile { web_identity_token_file: string; role_arn: string; role_session_name?: string; } export declare const isWebIdentityProfile: ( arg: any ) => arg is WebIdentityProfile; export declare const resolveWebIdentityCredentials: ( profile: WebIdentityProfile, options: FromIniInit ) => Promise<AwsCredentialIdentity>;