UNPKG

cdk-encrypted-secret

Version:

CDK Construct that creates an AWS Secret Manager Secret and sets the value from an encrypted Ciphertext.

4 lines (3 loc) 185 B
export const ENV_PROFILE = "AWS_PROFILE"; export const DEFAULT_PROFILE = "default"; export const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;