Safeguard your private keys in Dotenvx Armor ⛨
Add Armor to your Dotenvx installation.
$ dotenvx install --add armor
Log in to your Armor account.
$ dotenvx login
Sign in on each machine that needs access.
Encrypt and choose Armor when prompted.
$ dotenvx encrypt
? Choose private key custody
⛉ Classic (.env.keys)
❯ ⛨ Armor (Off-device keys)
… more
When you run your app, Dotenvx gets the private key from Armor and loads your decrypted environment variables.
$ dotenvx run -- node index.js
⟐ injected env (3) from .env (031 F20) via Armor ⛨
That’s it! Your app now loads encrypted secrets with Armor managing access to the private key.