Helper for getting secrets from different storage
Project description
secrets-storage
secrets-storage is a helper for getting secrets from different storage.
Installation
secrets-storage is available on PyPI. Use pip to install:
$ pip install secrets-storage
Basic Usage
from secrets_storage import VaultStorage, ENVStorage, Secrets
IS_PROD = True
vault_storage = VaultStorage(
host="VAULT_ADDR",
namespace="VAULT_PATH",
role="VAULT_ROLE",
available=IS_PROD,
)
secrets = Secrets(storages=[vault_storage, ENVStorage()])
secrets.get("TEST_PASSWOD")
License
secrets-storage is developed and distributed under the Apache 2.0 license.
Reporting a Security Vulnerability
See our security policy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
secrets-storage-0.9.0.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for secrets_storage-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf305bc202dba5816c81431a86f82ebf20f5b87f56f35fe040d3e5891b0f11af |
|
MD5 | fba1e0d984775fb1ea32f321e15e4955 |
|
BLAKE2b-256 | 3d845c9500a9bc7e006bb99e70c55804cc49fe85916d6296dd1d4234ec5a6c29 |