A Sceptre resolver to retrieve data from the AWS secure store
Project description
Overview
The purpose of this resolver is to retrieve values from the AWS SSM.
Install
pip install sceptre-ssm-resolver
Available Resolvers
ssm
Fetches the value stored in AWS SSM Parameter Store.
Note: Sceptre must be run with a user or role that has access to the parameter store
Syntax:
parameter|sceptre_user_data:
<name>: !ssm /prefix/param
parameter|sceptre_user_data:
<name>: !ssm
name: /prefix/param
region: us-east-1
profile: OtherAccount
parameter|sceptre_user_data:
<name>: !ssm {"name": "/prefix/param", "region": "us-east-1", "profile": "OtherAccount"}
Parameters
- name - SSM key name, mandatory
- region - SSM key region, optional, stack region by default
- profile - SSM key's account profile , optional, stack profile by default
Example:
Add a secure string to the SSM parameter store
aws ssm put-parameter --name /dev/DbPassword --value "mysecret" \
--key-id alias/dev/kmskey --type "SecureString"
Retrieve and decrypt SSM parameter from the same account that the stack is being deployed to:
parameters:
database_password: !ssm /dev/DbPassword
Retrieve and decrypt SSM parameter from another AWS account:
parameters:
database_password: !ssm
name: /dev/DbPassword
profile: OtherAccount
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
Built Distribution
File details
Details for the file sceptre-ssm-resolver-1.2.2.tar.gz
.
File metadata
- Download URL: sceptre-ssm-resolver-1.2.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbff1b33b2f86e4e2349f3e3a583f46065596ac57f3623d5fc3243e150a97f5c |
|
MD5 | f335bd6c1ebb868c1791370fed2806ff |
|
BLAKE2b-256 | 2f6a97b050b5aa9df6ba3cc3efc5b6b18087365d59e9c4265d6bd3a4b105e56d |
File details
Details for the file sceptre_ssm_resolver-1.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: sceptre_ssm_resolver-1.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf2713190e96af20569c48c1b5c4f42ea29838e011493432cc7a69f21b9fe02 |
|
MD5 | e1ed9d09eaf6172a2a69339e536115c7 |
|
BLAKE2b-256 | 7a8ef307d0ccb362d3daca3ea1090e6c30177bd68154f375950779d744df1bba |