Skip to main content

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 in os.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

custom_secrets_manager-1.1.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

custom_secrets_manager-1.1.0-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page