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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: config_encryptor-1.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f19c1e612982925fa634dfe69690fd1605816599ed2d8d2e7088416ed3830ed6
MD5 4cfe7bb6caafb2a6f45df36aead9e1a1
BLAKE2b-256 f8cf6b4db05bfe98f7eb19b46e94db18410cd397f964d24544817631997f5e98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for config_encryptor-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba57a0bbc441451f9773a485f25e9ff7487e5809393b13d9b4c7d1c9353604d5
MD5 057750789dde1550e71d7c841911fe23
BLAKE2b-256 a9fb8188d983280a2d8fa3a6cbb6c7533d1af084605dbe229da7cf1a5083f86e

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