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
Close
Hashes for sceptre-ssm-resolver-1.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4b4485ae99ee7d134f55263ce6e4df456fd8417d80669775d8f5c9e0f2ba80a |
|
MD5 | 1db035d3ea185cf125280cf81c58bf46 |
|
BLAKE2b-256 | 4210a514336f5dfa69838d88b1420559fdbde02298e4eee2f971d69a04ed05f5 |
Close
Hashes for sceptre_ssm_resolver-1.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf0490ccb08e55803cb0397d3f1c47d0c5b95d1a651413fe0bc6b66e8488005 |
|
MD5 | 111826d85d38910e97c2a3f3039313f7 |
|
BLAKE2b-256 | c68ee805bb5bb83778c90c1efca5d08b1a96699ebd6760d8b616674c7b4c5977 |