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
profile: OtherAccount
parameter|sceptre_user_data:
<name>: !ssm {"name": "/prefix/param", "profile": "OtherAccount"}
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.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da7c6cdc4749b93b387b1fff0d59073d45a12bf059089a2023a3cb67156bdc5d |
|
MD5 | f64335de728594c8d23401991fef8111 |
|
BLAKE2b-256 | 9b0947a3ff6e60ef4918aa662c4050ae5054700fd6844dc903c6c15b861250d7 |
Close
Hashes for sceptre_ssm_resolver-1.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd0e69268bb6d18daa5cb68a6b837e75e4932593b2451e9100c85e4dbe6109d |
|
MD5 | f6495e1d31a87c6fdf6b0c39c6cc10ce |
|
BLAKE2b-256 | e39390d4a4c7b53636f88443811d1eb37559fe49cde2c13e9a1ddb335192f5bc |