UNPKG

@aws-sdk/credential-provider-node

Version:

AWS credential provider that sources credentials from a Node.JS environment.

12 lines (11 loc) 455 B
import type { FromHttpOptions } from "@aws-sdk/credential-provider-http"; import type { RemoteProviderInit } from "@smithy/credential-provider-imds"; import type { AwsCredentialIdentityProvider } from "@smithy/types"; /** * @internal */ export declare const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; /** * @internal */ export declare const remoteProvider: (init: RemoteProviderInit | FromHttpOptions) => Promise<AwsCredentialIdentityProvider>;