UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

13 lines (12 loc) 688 B
import type { CredentialProviderOptions } from "@aws-sdk/types"; import type { AwsCredentialIdentityProvider, Logger } from "@smithy/types"; /** * @internal * * Resolve the `credential_source` entry from the profile, and return the * credential providers respectively. No memoization is needed for the * credential source providers because memoization should be added outside the * fromIni() provider. The source credential needs to be refreshed every time * fromIni() is called. */ export declare const resolveCredentialSource: (credentialSource: string, profileName: string, logger?: Logger) => ((options?: CredentialProviderOptions) => Promise<AwsCredentialIdentityProvider>);