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.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: config_encryptor-1.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 c0fe84d00c1a274c54c59117e4a9397702e6fe4d4122a2737d4fbb3de15a4bdf
MD5 deaced8590d524a2f16f60b01bae090e
BLAKE2b-256 b80de42da0b468a37200a12f2479e977b6e96d7d94adaa56ef767f8a4e86e111

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for config_encryptor-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 895e4b06d521226f4e3fc51770451be68f19db8bad71b3bd6e526bee53e49da6
MD5 d61cc3800a141ecdb34bb4d08a177652
BLAKE2b-256 eda8142bb1940d09a4a908605a9feaaa264e3527f0fca4b7e62dfd51855bff78

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