Armor Custody

Safeguard your private keys in Dotenvx Armor ⛨

Custody

Install

Add Armor to your Dotenvx installation.

Requires Dotenvx 3.0.


$ dotenvx install --add armor

Login

Log in to your Armor account.


$ dotenvx login

Sign in on each machine that needs access.

Encrypt

Encrypt and choose Armor when prompted.


$ dotenvx encrypt
? Choose private key custody
  ⛉ Classic (.env.keys)
❯ ⛨ Armor (Off-device keys)
  … more

Run

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.


Armor Commands

markdown