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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a26ffbfa3a77feb96584b47abfda23aba682969c6abf980f21e3539baaa2b84 |
|
MD5 | 2ec1309fb253754472b7595a307ec9b3 |
|
BLAKE2b-256 | d86a6962992a9ac5ed2267efa541a341c9103a8a7c05de73b4534486554bc690 |
Close
Hashes for custom_secrets_manager-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c122f42702717d25a99c21106a4a644432ab547d65d6669a24f7eb886c347e |
|
MD5 | d3dc0b4a998e76b924c18f30215eba5a |
|
BLAKE2b-256 | 0053c7e470c234f5fb59faf9c848cda18c326b505eec993e3cfef7bfca31e927 |