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) 422 B
import { Provider } from "@smithy/types"; import { RemoteProviderInit } from "./remoteProvider/RemoteProviderInit"; import { InstanceMetadataCredentials } from "./types"; /** * @internal * * Creates a credential provider that will source credentials from the EC2 * Instance Metadata Service */ export declare const fromInstanceMetadata: (init?: RemoteProviderInit) => Provider<InstanceMetadataCredentials>;