A utility for managing secrets and API keys
Project description
This starter_process script performs the following tasks:
- Creates a
secrets_registry.log
file as a database for secrets, API keys, or passwords found in the parent directory of the script. - Scans the parent directory for suggestive file names like secrets or keys with file extensions
.yaml
,.json
, or.ini
. If there is a mention of a key name without a value, it checks the corresponding value inos.environ
and updates the registry accordingly. - Makes available a
secrets_loader.py
module to load secrets from the secrets_registry.log file. - Generates meaningful logs in the standard output and saves logs in the
load_config_process.log
file in the same directory. - Checks if a
.gitignore
file exists in the directory and ensures that entries are made for secrets files.
Please note that this script assumes that you have the secrets_loader.py module in the same directory as starter_process.py
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for custom_secrets_manager-1.0.7b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47eb78d5a4eb574296709ed6c4bc885f56d986ad3f75a04af64e978c9cbd2746 |
|
MD5 | 92b40f6129f8e2858ae99ffbd6e96b10 |
|
BLAKE2b-256 | 0eda1ca0615e8cd8e352db8598a577c34ec11a132e114e5921c929f26b94d904 |
Close
Hashes for custom_secrets_manager-1.0.7b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28fdaf96dbf70564c7954971d9dc919a9cdacb3cba0080a1b795964db89cb949 |
|
MD5 | d006a9eac6e3c4b51b1428a0b69a3440 |
|
BLAKE2b-256 | dc7b65174105ab6da4bdd31ebddca4b810594436d6069c8f9462d7cc695b9970 |