Vault library
Project description
Installation
pip install crio_vault
Get started
How to fetch keys required by a script from the AWS secret manager vault with this lib:
from crio_vault import vault
Instantiate
fetch = vault()
Call the fetch_and_store method
fetch.fetch_and_store("test100", "prod") key = json.loads(os.getenv('TEST100_PROD_SHEET_KEY')) # dict token = os.getenv('TEST100_PROD_TOKEN') # string
Print and check
print(key) print(type(key)) print(token) print(type(token))
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
crio_vault-1.1.5.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for crio_vault-1.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6653795772988022b197cda277ae463bdc376076bea7568347fc64ba44029e9d |
|
MD5 | e8beee767cb8e9aa47c4172d7892da84 |
|
BLAKE2b-256 | ee7a4bb9cddc712627f5a4b6efb2774966eb658a1f90ffc4322091830900f365 |