Skip to main content

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

sceptre-ssm-resolver-1.1.3.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

sceptre_ssm_resolver-1.1.3-py2.py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page