DotenvxDotenvx
  • ▦ Documentation
  • ❯ CLI Reference
  • ƒ SDK Reference
DotenvxDotenvx
Log InGet Started
  • CLI Reference

    • Introduction
  • Commands

    • Run
    • Get
    • Set
    • Encrypt
    • Decrypt
    • Rotate
    • Keypair
  • Advanced

    • Armor ⛨›
    • Ext
  • Hidden

    • Doctor
CLI Reference›Encrypt

Encrypt

Convert .env file to encrypted .env file.

$ dotenvx encrypt
◈ encrypted (.env)

Advanced

  • encrypt -f
  • encrypt -fk
  • encrypt -k
  • encrypt -ek
  • encrypt --stdout
  • encrypt --token
  • encrypt --no-create
  • encrypt --no-armor

Was this page helpful?

Set‹Previous
Decrypt›Next
Follow us on XFollow us on GitHub