Docs
Security best practices
Harden access, keys, local files, and operational habits around secrets.
Security best practices
Access control
- Use the least-privilege role that still lets people work.
- Restrict production reveal and export to owners/admins when possible.
- Remove members promptly; revoke their API keys the same day.
- Prefer org API keys for automation — not personal passwords.
API keys
- One key per machine or pipeline.
- Descriptive names (
ci-prod,laptop-alex). - Rotate on a schedule and after any suspected leak.
- Never commit keys; never put them in frontend env vars shipped to browsers.
Local files
- Keep
.env*in.gitignore. - Treat
eanvi pulloutput as sensitive — same as the remote values. - Do not paste production env files into tickets, chat, or screenshots.
- Commit
.eanvi/config.json(project defaults) but never~/.eanvi/credentials.json.
Encryption awareness
- Values are encrypted at rest; key names are not — avoid putting secrets in key names.
- Use explicit reveal/pull/export; treat any decrypted output as highly sensitive.
- Prefer the official CLI or SDK — do not invent custom ways to fetch or decrypt secrets.
Operational habits
- Change a leaked value in Eanvi, then rotate the third-party credential itself.
- Use version history to recover from mistaken overwrites.
- Review Audit Activity for unexpected reveals.
- Separate
development/staging/productionenvironments — never share production values to local by default.
Application design
- Load secrets at startup from env; do not hardcode fallbacks that bypass Eanvi.
- Avoid logging environment objects wholesale.
- In multi-tenant apps, never mix org contexts on a single API key.