Skip to main content

Vault for your software project using AWS Parameter Store

Project description

AWS Parameter Store

Parameters store (vault) for your backend software project using AWS Parameter Store

Why AWS Parameter Store

Usually in every backend project there is a use of environment variables for holding values that can differ for each environment or need to be change from time to time. Sometimes these parameters can hold sensitive data like passwords or other secrets, there for need to be stored in a safe place.

There are some solutions for that, some of them requires setup time, knowledge and additional servers (e.g. Hashicorp Vault).

One alternative for storing such data is AWS Parameter Store, this service ia part of the AWS Systems Manager service ( AWS Parameter Store is a simple solution to store these parameters and tracking who change what and when.


In AWS Parameter Store every parameter has a path. Here for example we have two parameters for dev environment and two for stage.


To load parameters for dev environment see this code snippet

from awspstore import get_parameters

    path='dev',  # Parameters path
    update_environ=True,  # Update the environ
    dump_parameters=True  # Dump all loaded parameters to standard output

Parameters dump into standard output. Notice tha the password is masked, by default every parameter that it's name suggesting that it contains a password or other secret will be masked.

DEBUG method: dump 	 DB_HOST:
DEBUG method: dump 	 DB_USER: db_dev_user
DEBUG method: dump 	 DB_PWD: ***********

Things to set before using

Define these environment variables:


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

awspstore-1.3.0.tar.gz (4.0 kB view hashes)

Uploaded source

Built Distribution

awspstore-1.3.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded py3

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