Skip to main content

A CLI tool to securely encrypt and decrypt .env files using AES-256

Project description

envsecure

A secure CLI tool to encrypt/decrypt .env files for safe deployment in CI/CD pipelines.

Installation

pip install envsecure  # after upload to PyPI

Usage

# Generate key
envsecure keygen --output secret.key

# Encrypt a .env file
envsecure encrypt --key secret.key --env /path/to/.env

# Decrypt the file
envsecure decrypt --key secret.key --env /path/to/.env.enc

License

MIT License

Copyright (c) 2025 Karan Taware

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

envsecure-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

envsecure-1.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file envsecure-1.0.0.tar.gz.

File metadata

  • Download URL: envsecure-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for envsecure-1.0.0.tar.gz
Algorithm Hash digest
SHA256 37ebee5e9864060c4ea03d4800ec0c768cc06391fc4d67ce862551bba7708f07
MD5 076d5f84bc1d201e63844e6963c63bdd
BLAKE2b-256 eae1cdaeca7643279d1c00e16687cb1671b479d7bf576d29bdc8bc57a9418e33

See more details on using hashes here.

File details

Details for the file envsecure-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: envsecure-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for envsecure-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b42d29a5a7ffed76be9b9a30610637e4ca918ce000c483580e940e3ea92e0a0
MD5 a8740020c1dc0b593cc03764fb138d94
BLAKE2b-256 b54d5261d3a306a6ff7e1fd3946fe44a6e16a724f8d1349052dfb8c4f3a92a4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page