A Python-based CLI to encrypt and decrypt variables in .env
files.
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