cdk-ssm-secure-iam-access-key
Version:
Creates an IAM Access Key for a provided IAM User and stores the result in an SSM SecureString Parameter
7 lines (6 loc) • 314 B
JavaScript
import { fromProcess } from "@aws-sdk/credential-provider-process";
export const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
export const resolveProcessCredentials = async (options, profile) => fromProcess({
...options,
profile,
})();