cdk-encrypted-secret
Version:
CDK Construct that creates an AWS Secret Manager Secret and sets the value from an encrypted Ciphertext.
19 lines (18 loc) • 538 B
TypeScript
import { AwsCredentialIdentity, Profile } from "@smithy/types";
import { FromIniInit } from "./fromIni";
/**
* @internal
*/
export interface WebIdentityProfile extends Profile {
web_identity_token_file: string;
role_arn: string;
role_session_name?: string;
}
/**
* @internal
*/
export declare const isWebIdentityProfile: (arg: any) => arg is WebIdentityProfile;
/**
* @internal
*/
export declare const resolveWebIdentityCredentials: (profile: WebIdentityProfile, options: FromIniInit) => Promise<AwsCredentialIdentity>;