Secrets manager
Project description
CAVALRY
Quickly load secrets as environment variables
Getting Started
pip3 install cavalry
Usage
Run cav -h to see options. Note: the script is not POSIX compatible and requires /bin/bash.
Loading variables
The load command will run an eval on the variables exported from the function. To get these into your current scope, the file must be run with source .... Shorthand in most terminals is to simply prepend a dot: . cav load .... TL;DR: to load variables, run . cav load ...
usage: cav [-h] [-s FILE] {store,delete,load,list,clear} ...
Utility to load environment variables. To persist the variables into your
scope, run 'source cav {load,clear} [options]' or '. cav {load,clear} [options]'
positional arguments:
{store,delete,load,list,clear}
store store variables
delete delete variables
load load variables
list list stored data
clear clear variables from environment
optional arguments:
-h, --help show this help message and exit
-s FILE, --secrets FILE
specify an alternate secrets file
© 2020 Sean Christians
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
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 cavalry-2.1.1.tar.gz.
File metadata
- Download URL: cavalry-2.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24415f0ce0a29f5b291e1059dcfbd7ef422c6ee210135583b849c71a0a715f64
|
|
| MD5 |
f1ce5dc1b221e8955ca64e088a5159b2
|
|
| BLAKE2b-256 |
83d55f5d20a63f8ba1bbf4ac5248f2c9bdc69a9e61f0b561dd1d7e7fa9185338
|
File details
Details for the file cavalry-2.1.1-py3-none-any.whl.
File metadata
- Download URL: cavalry-2.1.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12a91605d6d82657a9a8ab1744464cda1a595a1249601abd42d71a481bd1f6cf
|
|
| MD5 |
6c3c3d0e4ecb13397320b00035cf6d4d
|
|
| BLAKE2b-256 |
1cb8ff8267a9546bcc490967982b7a35686674d7cf17a809bf77123f20678c5b
|