UNPKG

@aws-sdk/credential-provider-ini

Version:

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

17 lines (16 loc) 542 B
import { AwsCredentialIdentity, Profile } from "@smithy/types"; import { FromIniInit } from "./fromIni"; export interface StaticCredsProfile extends Profile { aws_access_key_id: string; aws_secret_access_key: string; aws_session_token?: string; aws_credential_scope?: string; aws_account_id?: string; } export declare const isStaticCredsProfile: ( arg: any ) => arg is StaticCredsProfile; export declare const resolveStaticCredentials: ( profile: StaticCredsProfile, options?: FromIniInit ) => Promise<AwsCredentialIdentity>;