Skip to main content

Query params from AWS System Manager Parameter Store

Project description

Build Status

Query params from AWS System Manager Parameter Store


pip install aws-paramstore-py


in shell

# AWS credentials from env vars
aws-pspy /path/to/params
# returns {"key1": "value1", "key2": "value2"}

eval "$(aws-pspy /path/to/params --bash-export)"
# set env vars:
# - key1="value1"
# - key2="value2"

in Python

import aws_paramstore_py as paramstore

# use default boto3 ssm client
params = paramstore.get('/path/to/params')
# dict(key1: "value1", key2: "value2")

# use your own boto3 ssm client
import boto3
ssm = boto3.client('ssm')
params = paramstore.get('/path/to/params', ssm_client=ssm)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aws-paramstore-py, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size aws_paramstore_py-0.1.0-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page