Metzploreur/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts
clement callaert 244d45ceb8 Version 2
2023-11-01 17:33:25 +01:00

10 lines
412 B
TypeScript

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>;