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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| cdk-ssm-secure-iam-access-key-0.0.8.tar.gz | 1.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|