Skip to main content

A Python package for encrypting and decrypting config files using Fernet encryption.

Project description

Config Encryptor

encryption is a Python package designed to encrypt and decrypt JSON configuration files, specifically config.json, to enhance security for sensitive data such as API keys and database credentials.

Purpose:

Most developers store their sensitive information in a JSON file which often leads to security threats. This package encrypt the configuration file and decrypt it before using it using a secret key. The secret key is stored in environment variable making it inaccessible to hackers.

Features:

  • Generate an encryption key.
  • Encrypt the entire config.json file.
  • Decrypt the encrypted file for runtime use.

Installation

pip install config_encryptor

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

config_encryptor-1.2.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

config_encryptor-1.2.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file config_encryptor-1.2.0.tar.gz.

File metadata

  • Download URL: config_encryptor-1.2.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for config_encryptor-1.2.0.tar.gz
Algorithm Hash digest
SHA256 fceeebbda915590acf7390aa8c061a622a806b7b7fc960e03911eed45f3a02cf
MD5 977b24833fc0a00e2bce6914a2545fb0
BLAKE2b-256 51d80c341bb9433caecc5068a0100dd7642143ad0e5494fb2d1c4eac073f96c4

See more details on using hashes here.

File details

Details for the file config_encryptor-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for config_encryptor-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1d7e926a60c9370a8df4c5b53279876de095881ee3ea7d0315febf390972a09
MD5 c7efa6749ca30bfdfe0301bacad1dd88
BLAKE2b-256 797a8678045fac6a5b3d9fa3a036394c0c212a218fd52f6a7239f9d4c32b493d

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