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
Built Distribution
File details
Details for the file config-encryptor-0.1.0.tar.gz
.
File metadata
- Download URL: config-encryptor-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 631b0c65206c3ceb028cf4646e6fbc0cf0e7688e544ebac97f8df779805125f6 |
|
MD5 | 1541bdc070de117234d548ff7c8d2738 |
|
BLAKE2b-256 | 5fccadeb138fa9b196202d61f13d2df3e585ed7ca6941cbd30fafb7d35dfcd6b |
File details
Details for the file config_encryptor-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: config_encryptor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38cc72e0bf0036408408c5e2b29284f2ee84679815148a09a52c6d08d3a5207d |
|
MD5 | 37e90fc87f42cf159582f18f80bd6d37 |
|
BLAKE2b-256 | e33cc44cd58af7b56b1a9fe634a656f349286af4d49570f6c3793f45566ef62c |