Skip to main content

cdk-ssm-secure-iam-access-key

Creates an IAM Access Key for a provided IAM User and stores the result in an SSM SecureString Parameter

NPM Package

View on Construct Hub

Installation

npm i -D cdk-ssm-secure-iam-access-key

Usage

        const user = new iam.User(this, "SMTPUser");

        user.addToPolicy(
            new iam.PolicyStatement({
                effect: iam.Effect.ALLOW,
                actions: ["ses:SendRawEmail"],
                resources: ["*"],
            })
        );

        new SSMSecureIAMAccessKey(this, "SMTPUserCredentials", {
            parameterName: "/smtpCredentials",
            user,
        });

        // JSON.stringified {accessKeyId: "...", secretAccessKey: "..."}
        return ssm.StringParameter.fromSecureStringParameterAttributes(
            this,
            "SMTPUserCredentialsSSM",
            {
                parameterName: "/smtpCredentials",
            }
        );

Metadata

Release files for cdk-ssm-secure-iam-access-key 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-ssm-secure-iam-access-key 0.0.8
File Size Uploaded
cdk-ssm-secure-iam-access-key-0.0.8.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cdk-ssm-secure-iam-access-key 0.0.8
File Interpreter ABI Platform
cdk_ssm_secure_iam_access_key-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 2.7 MB

Release files / cdk-ssm-secure-iam-access-key-0.0.8.tar.gz

Download URL cdk-ssm-secure-iam-access-key-0.0.8.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
1a884eaec08bb8116f5bc903e3f2cf7bfb7e2812a06d0f220f7a9641876ebb61
BLAKE2b-256 checksum
How to use checksums
ff538c66d23bef9bf02414876aa043dadb7b0eba14f1ab3eb210eebe1c755995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / cdk_ssm_secure_iam_access_key-0.0.8-py3-none-any.whl

Download URL cdk_ssm_secure_iam_access_key-0.0.8-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
285d3195224b5b2ced8224390fc330ccaf7a85a03293b64ccef9e3cae2fe769e
BLAKE2b-256 checksum
How to use checksums
2ddb55413b9254395a5b94945717047b3ca9dfc4f0615492dcccce39225cf69b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page