Skip to main content

Query params from AWS System Manager Parameter Store

Project description

Build Status

Query params from AWS System Manager Parameter Store

Install

pip install aws-paramstore-py

Usage

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

aws_paramstore_py-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file aws_paramstore_py-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_paramstore_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fbe49b595dd02c8ecb8a84ae5d1776419f926413c25749cb308b9963cb94049
MD5 6f3a28ef425eb91a5328521f30dd263e
BLAKE2b-256 1a53deb96a521c7166ad24d1298d796ac82e3a315c197a723d68d58339d22df9

See more details on using hashes here.

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