Advanced

dotenvx set KEY value --encrypt

Set an encrypted key/value.

$ touch .env

$ dotenvx set HELLO World --encrypt
set HELLO with encryption (.env)