- Comparisons
- AI coding agents
Varlock vs dotenvx vs Dopbase for AI Coding Agents
Varlock, dotenvx and Dopbase all keep .env values away from coding agents, in different ways. Compare how each works, what it stops and its limits.
Dopbase guides
Guides for developers who keep secrets in .env files and work with coding agents such as Claude Code, Cursor and Codex. We also explain why Dopbase is built the way it is.
Varlock, dotenvx and Dopbase all keep .env values away from coding agents, in different ways. Compare how each works, what it stops and its limits.
Looking for an OpenBao alternative? We ran OpenBao 2.7.3 and Dopbase side by side: setup, unsealing after a restart, app secrets, and who each one fits.
Looking for a HashiCorp Vault alternative? We set up Vault 2.2.2 and Dopbase side by side: unsealing, getting a secret into an app, and who each fits.
How to use TruffleHog 3.100 to scan Git history and folders for secrets, what verified and unverified mean, and which .env values it lets through.
Your Node env file loads nothing and process.env comes back undefined. Fix it with Dopbase, Node's built-in --env-file flag or dotenv, with tested commands.
How to use gitleaks 8.30.1 to scan Git history and a folder for secrets, set up the pre-commit hook, and see which values it lets through.
Does Claude Code read AGENTS.md? We tested CLAUDE.md vs AGENTS.md on Claude Code 2.1.329 and Codex 0.164.0, plus what a .env rule does.
Set up OpenRouter with Claude Code on macOS or Linux: the endpoint, key and model, loaded per command so your own Claude Code settings stay untouched.
What the Codex sandbox blocks, what it still lets Codex read, and how to keep a .env file out of reach. Tested on Codex CLI 0.164.0.
A Docker Compose env file does one of two jobs: fill ${VAR} in compose.yaml or set variables in a container. We tested which file does which.
Claude Code doesn't read a .claudeignore file. We tested version 2.1.322 to show which settings block a file and what still gets through.
The .env file format on one page: keys, quotes, comments, multiline values and export, plus the differences between dotenv, Docker and the shell.