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
Built Distribution
File details
Details for the file secrets-storage-0.11.0.tar.gz
.
File metadata
- Download URL: secrets-storage-0.11.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c738800861bd606175590c7aab1e57f119710b9d81e2f0dc9c9d7a0004da6191 |
|
MD5 | addaf5be8ea6b0689f1c85df0dc36a4e |
|
BLAKE2b-256 | cf21de4d9702d680e881b7faafe9c3d340871fda29839e1d479d4e9f9044c710 |
File details
Details for the file secrets_storage-0.11.0-py3-none-any.whl
.
File metadata
- Download URL: secrets_storage-0.11.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ea21ca2855d4b857a79e417608d7426a76030c43816d79a88cc2250c578f8b |
|
MD5 | d708376e25d9f788654dad90fe5abbbf |
|
BLAKE2b-256 | 7e69cd0c98cc7d53dc28eac6fd04aef64edacc77c4fae75d3d5864d97bde93ce |