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.1.5.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for secrets_storage-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1076892193fc6373f7f84e8c3cb18a945e1628050efb7259ebedb887a7b89207 |
|
MD5 | 648f00bef17974b25ece9e328f9e1ef4 |
|
BLAKE2b-256 | 56f2715f953b6567ed1eb69e35183adcb3d5424a13febb05d4faa9cadf3b4fde |