Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

chtbks/python-vault-lib

 
 

Repository files navigation

This is a python package that takes care of loading secrets for an application at runtime

Chatbooks Logo

  • pushable to private pypy repo
  • login testable
  • token auth testable
  • approle auth testable

To install this package run

pip install -i https://pypi-registry.chatbooks.com core_vault_auth_lib

to access the secrets in your app

from core_vault_auth_lib import SecretsVault

v = SecretsVault()
v.authenticate()
creds = v.get_secrets('job-server', store='bi')

if you are building a new version make sure you have this file configured

~/.pypirc

[distutils]
index-servers =
    cb

[cb]
repository = https://pypi-registry.chatbooks.com/
username = cb
password = cb

About

Library that enables secret access for python projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.7%
  • Makefile 3.3%