UNPKG

@smithy/credential-provider-imds

Version:

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

11 lines (10 loc) 427 B
import type { Provider } from "@smithy/types"; import { type RemoteProviderInit } from "./remoteProvider/RemoteProviderInit"; import type { InstanceMetadataCredentials } from "./types"; /** * Creates a credential provider that will source credentials from the EC2 * Instance Metadata Service * * @internal */ export declare const fromInstanceMetadata: (init?: RemoteProviderInit) => Provider<InstanceMetadataCredentials>;