Skip to main content

TopMind Vault Client Helper

Project description

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vault-talenttech-oss-1.1.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

vault_talenttech_oss-1.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page