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 environ import Env
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.2.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

param_store-0.2.0-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for param-store-0.2.0.tar.gz
Algorithm Hash digest
SHA256 52b5936ee5385405f209613e48a91a43383b8e553147f88b5dc83dd63bd588a7
MD5 b16da7f6809d48195132486a53d8e3ef
BLAKE2b-256 e25736a05015da675943829fd944d9da916e752e98c3076c57c3370afbb7cc60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for param_store-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f7fbd68f0c8b1f7d9e19613cc3384647b5f2899314ac497e88951d3c2a73c865
MD5 b6a025c68eed2ab68a761c6b65b3d32f
BLAKE2b-256 2e0c3e8e381217f44587547de4ae8b0668b9618d80bb92caabd91104029d210d

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