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. - Uses the modified
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a77c7b7bf51e4c0c614d380977504a8523863b49b57e1066993d6f3c81dd1d |
|
MD5 | e2edf79bdc7b0a6aeb43ce96d7290beb |
|
BLAKE2b-256 | 065580c53a8b55bfa49a22f436f873584da3a5d56376a0cc1d136c0226ffad29 |
Close
Hashes for custom_secrets_manager-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7982731eaa8c92d4686752af8bf25565bbe17db4f06d02bf2411ea3a199feed |
|
MD5 | 63578fd55738e5f52c86c8861a48a7a3 |
|
BLAKE2b-256 | e8b21d76f981cb3d5e5fc1292e38cb531de1804896827aad86cadf113183919c |