Skip to main content

A Sceptre resolver to retrieve and decrypt values from AWS KMS

Project description

Overview

The purpose of this resolver is to retrieve values from the AWS KMS.

Install

pip install sceptre-kms-resolver

Available Resolvers

kms

Fetches the value stored in AWS KMS.

Syntax:

parameter|sceptre_user_data:
    <name>: !kms CIPHERTEXT

Example:

Encrypt data with KMS to get a Ciphertext:

aws kms --key-id <KMS Key Id> --plaintext <data> --output text --query CiphertextBlob

AQICAHhZyEsV0yflwE0mpKvPz7/O/zc1epgIurV43wXF/qF6MwFQYwZq7TrvtQ2....

Use sceptre to retrieve and decrypt the value from KMS:

parameters:
    database_password: !kms AQICAHhZyEsV0yflwE0mpKvPz7/O/zc1epgIurV43wXF/qF6MwFQYwZq7TrvtQ2...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sceptre-kms-resolver-1.0.2.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page