Vault client
Pre-install
export VAULT_URL=[Vault URL]
export VAULT_AUTH_TOKEN=[auth token]
export VAULT_NAMESPACE=[namespace]
export VAULT_RESTRICTION=[restriction]
export VAULT_SECRET_NAME=[secret name]
cubbyhole/etl/[VAULT_NAMESPACE]/[VAULT_RESTRICTION]/[VAULT_SECRET_NAME]
Usage
pip3 install vault-talenttech-oss
import vault.client as osv
#Вернёт DB_PASSWORD из переменных окружения, если не найдёт в Vault
osv.getenv("DB_PASSWORD")
Metadata
Release files for vault-talenttech-oss 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vault-talenttech-oss-1.1.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vault_talenttech_oss-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / vault-talenttech-oss-1.1.0.tar.gz
| Download URL | vault-talenttech-oss-1.1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1d2f297c8b952449a6b957d3f98f1fd934b129d34c2635401cbd04e77dd2692
|
|
BLAKE2b-256 checksum How to use checksums |
b761afec54ca546b42a3b90054160fbb1c7a0802b92a6151a8c60872b27c5f79
|
| 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.8.0 tqdm/4.49.0 CPython/3.6.12
|
Release files / vault_talenttech_oss-1.1.0-py3-none-any.whl
| Download URL | vault_talenttech_oss-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7b024858dd348c434e58588ca6d22018bca21e73edc12d8a4921549e0821045
|
|
BLAKE2b-256 checksum How to use checksums |
3e7386a9f13b16c7d88924adeabeea83be25cc51d54933ad7fbef3f863501c09
|
| 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.8.0 tqdm/4.49.0 CPython/3.6.12
|