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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file custom_secrets_manager-1.1.0.tar.gz.

File metadata

File hashes

Hashes for custom_secrets_manager-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0a26ffbfa3a77feb96584b47abfda23aba682969c6abf980f21e3539baaa2b84
MD5 2ec1309fb253754472b7595a307ec9b3
BLAKE2b-256 d86a6962992a9ac5ed2267efa541a341c9103a8a7c05de73b4534486554bc690

See more details on using hashes here.

File details

Details for the file custom_secrets_manager-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for custom_secrets_manager-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41c122f42702717d25a99c21106a4a644432ab547d65d6669a24f7eb886c347e
MD5 d3dc0b4a998e76b924c18f30215eba5a
BLAKE2b-256 0053c7e470c234f5fb59faf9c848cda18c326b505eec993e3cfef7bfca31e927

See more details on using hashes here.

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