Skip to main content

Parameter store for secrets

Project description

param-store works with parameter stores (e.g. EC2 Parameter Store) to resolve specific parameters. It is designed to be pluggable so that stores can be created for e.g. Vault or Azure Key Vault.

A use-case is to store secrets in the EC2 parameter store and resolve them automatically.

Installation

pip install param-store

Usage

As a standalone package

from param_store import EC2ParameterStore
from param_store import interpolate_dict

data = {
    'key': 'my-secret-#{parameter-1}'
}

store = EC2ParameterStore()
result = interpolate_dict(data, store)
assert result[key] == 'my-secret-password'

In combination with django-environ

from param_store import EC2ParameterStore
from param_store.contrib import resolve_django_environ

env = Env()
store = EC2ParameterStore()
resolve_django_environ(env, store)

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

param-store-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

param_store-0.1.2-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file param-store-0.1.2.tar.gz.

File metadata

  • Download URL: param-store-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for param-store-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d4800877dfd204089dda1ed757b5e22a072130c8a11ba7160ef7709569859354
MD5 6c3b883729649835e2d7d8cdb1d312d5
BLAKE2b-256 39d5535ee47eda94e3ed32a13212ad835f7565d59c361a2c69f2da29c2eda067

See more details on using hashes here.

File details

Details for the file param_store-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for param_store-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7adf8ee0e3e6d239a3ef0d0a1994d10e10f42144377312c9fa822355ce4f3a1a
MD5 64063087e45ab81c556e5e354fa40458
BLAKE2b-256 b9a425b93af9e1a5f0b54559a4e750c40ae9639ca055da5122f8d55ceba8c938

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