Skip to main content

A CLI tool to encrypt and decrypt variables in .env files.

Project description

cryptenv

Python

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


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 hashes)

Uploaded Source

Built Distribution

cryptenv-0.2-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

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