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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crio_vault-1.1.5.tar.gz.
File metadata
- Download URL: crio_vault-1.1.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6788f72af298d6db480925bdc9557c72243fa6d9843f0062d1e42f6c4095da2
|
|
| MD5 |
81504596b27ab32a857fdb544bf95660
|
|
| BLAKE2b-256 |
83e1d5f4542165fb3810162c612a08358a48d40f61c91ac5a66eb67a3cbe4cbe
|
File details
Details for the file crio_vault-1.1.5-py3-none-any.whl.
File metadata
- Download URL: crio_vault-1.1.5-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6653795772988022b197cda277ae463bdc376076bea7568347fc64ba44029e9d
|
|
| MD5 |
e8beee767cb8e9aa47c4172d7892da84
|
|
| BLAKE2b-256 |
ee7a4bb9cddc712627f5a4b6efb2774966eb658a1f90ffc4322091830900f365
|