UNPKG

cdk-amazon-chime-resources

Version:

![Experimental](https://img.shields.io/badge/experimental-important.svg?style=for-the-badge)

19 lines (18 loc) 606 B
import { CredentialProviderOptions } from "@aws-sdk/types"; import type { AwsCredentialIdentityProvider } from "@smithy/types"; import { FromWebTokenInit } from "./fromWebToken"; /** * @public */ export interface FromTokenFileInit extends Partial<Omit<FromWebTokenInit, "webIdentityToken">>, CredentialProviderOptions { /** * File location of where the `OIDC` token is stored. */ webIdentityTokenFile?: string; } /** * @internal * * Represents OIDC credentials from a file on disk. */ export declare const fromTokenFile: (init?: FromTokenFileInit) => AwsCredentialIdentityProvider;