A CLI tool to encrypt and decrypt variables in .env files.
Project description
cryptenv
A Python-based CLI to encrypt and decrypt variables in .env files.
Installation
Usage
Examples
Encrypt and decrypt a single variable in a .env file:
cryptenv.py encrypt -f .env.myproject PASSWORD
cryptenv.py decrypt -f .env.myproject API_TOKEN
Encrypt all variables in a .env file:
cryptenv.py encrypt -f .env.myproject --all
Decrypt all encrypted variables, if any, in a .env file:
cryptenv.py decrypt -f .env.myproject
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cryptenv-0.2.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cryptenv-0.2.tar.gz.
File metadata
- Download URL: cryptenv-0.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3305a696b3708163ef81693a5036d80799735455297ca77077291e864a43fe1
|
|
| MD5 |
4a752759fc8dc9901be25fa9bb783057
|
|
| BLAKE2b-256 |
bdc7d2e1739827b3db58d1160039782ca86f475442a5c9e9d88a08d5304ea89d
|
File details
Details for the file cryptenv-0.2-py3-none-any.whl.
File metadata
- Download URL: cryptenv-0.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8cc3a00b1b4bd3fb9f8cf4dfdade3118d3f5643853386295707b5a26adb5a11
|
|
| MD5 |
c026be499ba70cf7b5ab65eabb7a6eb4
|
|
| BLAKE2b-256 |
ae37f12f4111275d716b821494dd97b1394c7d87b719d0887836dd817acc378a
|