https://github.com/sceptre/sceptre-kms-resolver
A Sceptre resolver to retrieve and decrypt values from AWS KMS
https://github.com/sceptre/sceptre-kms-resolver
sceptre sceptre-resolver
Last synced: 10 days ago
JSON representation
A Sceptre resolver to retrieve and decrypt values from AWS KMS
- Host: GitHub
- URL: https://github.com/sceptre/sceptre-kms-resolver
- Owner: Sceptre
- Created: 2019-10-01T05:54:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T16:31:20.000Z (30 days ago)
- Last Synced: 2025-03-27T05:22:54.419Z (27 days ago)
- Topics: sceptre, sceptre-resolver
- Language: Python
- Size: 49.8 KB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Overview
The purpose of this resolver is to retrieve values from the AWS KMS.
## Install
```bash
pip install sceptre-kms-resolver
```## Available Resolvers
### kms
Fetches the value stored in AWS KMS.
Syntax:
```yaml
parameter|sceptre_user_data:
: !kms CIPHERTEXT
```#### Example:
Encrypt data with KMS to get a Ciphertext:
```
aws kms --key-id --plaintext --output text --query CiphertextBlobAQICAHhZyEsV0yflwE0mpKvPz7/O/zc1epgIurV43wXF/qF6MwFQYwZq7TrvtQ2....
```Use sceptre to retrieve and decrypt the value from KMS:
```
parameters:
database_password: !kms AQICAHhZyEsV0yflwE0mpKvPz7/O/zc1epgIurV43wXF/qF6MwFQYwZq7TrvtQ2...
```