param-store
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)
Metadata
Release files for param-store 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| param-store-0.2.2.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| param_store-0.2.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / param-store-0.2.2.tar.gz
| Download URL | param-store-0.2.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8660fe9195cec6b097b30fffffd730e08bb76e1b774128291b62867b05535c4e
|
|
BLAKE2b-256 checksum How to use checksums |
7cb36a3d31699a9ffc4644bb5f6af743799bb58f3ba1597234d30075fc556152
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|
Release files / param_store-0.2.2-py2.py3-none-any.whl
| Download URL | param_store-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9c4a02cf33969611bc3f94efcef71db2a35e252694af6e7bca6a7a5f82e8586e
|
|
BLAKE2b-256 checksum How to use checksums |
d651c66ec5809f4763185b19324a546b0ecfcae78949091c95196d78fa27a314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|