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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41ecff9efa59ab08e9c29f9730c34dadba2010cfb68cc496d0aba843d4d28cfe |
|
MD5 | acc41c08ae3cd733fea40d24a70b3ca2 |
|
BLAKE2b-256 | 78d4e89aad53edf6ecf4eb40a0f6b92b282515555c8938ead60a68c363ef53a0 |
Close
Hashes for custom_secrets_manager-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa9b4c5332cadcde997f0babd63e02b26ea3083d5e2e9eceb4abcc5ae5b2f918 |
|
MD5 | a5646aa2b3691667bac59b009a630a6a |
|
BLAKE2b-256 | 0bbec2e6c6256f8ce76c713e7bc4af8d96da50f0ab83a09d3ef75678249241e6 |