/ Search - type / Modes - type M Star on GitHub - 5.7k

dotenvx encrypt

KEY_PLAIN

Skip encryption for keys ending in _PLAIN.

Usage

$ echo "HELLO=World\nHELLO_PLAIN=visible" > .env

dotenvx encrypt
◈ encrypted (.env)

HELLO is encrypted. HELLO_PLAIN stays plaintext.