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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f910b9cc59cd4622a7a501a99412c57a87f49012c45f4095fc03f1d367fa5ef2 |
|
MD5 | 7468d8ee0550aa68a8041db1662aa1ec |
|
BLAKE2b-256 | f553b2253ddf0142988b6f25aa240d7c14c0c0dbb65b83ec110efbf0adfa658a |
Close
Hashes for custom_secrets_manager-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d917c2dd35e2e4c6d8afec3acae0233a8f71ef2c554a124b5dad7104f93ccb53 |
|
MD5 | 6b009560b9c3bbc25bbd538473325e9b |
|
BLAKE2b-256 | c41018c50be099dc8021487e720478eb4cb0a23134229607b526961379822d4e |