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.3a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca14b47b15d2cb81bf1cd55032b17a0337fe32aff4d63a982a525be53e58f609 |
|
MD5 | d3efbd73f9f7e218d1fb395987406aaa |
|
BLAKE2b-256 | ad8ae2d4ddad0cea7de945f7b31d5bf6001a19bd4484f5599fd897a255f9642e |
Close
Hashes for custom_secrets_manager-1.0.3a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86cc01dac474d2ab55079b5c8dba28542f96ff854a3503bcd9b63ab3562ed6d3 |
|
MD5 | 75d379f842b3ef21077e166605073887 |
|
BLAKE2b-256 | b3f2b73d48940dcbff7f311480c8bfa17f5d099965c5a2b6bcb1577d4cd908fd |