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.8b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d71a38ec6513e605b0798d07e6f20b27e65ddf01f7605430236e3628c0e7ff1a |
|
MD5 | 78b0853a781a2b0f727027952e25b654 |
|
BLAKE2b-256 | 1ac04e1dc36bb086166c4bf083fd4cd9c80cbe6cef8a2ed944edd479676a4d43 |
Close
Hashes for custom_secrets_manager-1.0.8b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d62837be4d765ff9356ce6be1aefe6215ac909fb39c65053dc49b6cfc45525bb |
|
MD5 | a3bad3248ccaddec3fb9e4715c926f4d |
|
BLAKE2b-256 | 0e5af923c1734db1b7d8c0f32ce65467251ab320941ff64bbd990afcdcc3bc72 |