Doppler CLI
$ doppler Official High Riskdoppler replaces .env files with centralized secrets management across dev, staging, and prod configs. Agents can audit key names safely via doppler secrets --only-names --json and inject secrets at runtime with doppler run -- <cmd> without printing secret values.
brew install dopplerhq/cli/doppler doppler run injects secrets straight into child processes without passing secret values through an MCP bridge or LLM prompt.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --json, --only-names, --silent, and headless DOPPLER_TOKEN service tokens.
--only-names --jsonandDOPPLER_TOKENheadless auth
--only-names and doppler run prevent secret exposure nicely, though omitting --only-names on doppler secrets prints secret values.
- Safe when using
--only-namesanddoppler run; writes/deletes affect SaaS state
Official Go binary via brew, apt/rpm repos, Scoop, and Docker images.
- Cross-platform static binary
Clean doppler run workflow eliminates local .env drift across environments.
- Zero-disk-write secret injection into subprocesses
Official Doppler CLI (DopplerHQ/cli) licensed under Apache-2.0.
- Active vendor-maintained OSS repository
Clear CLI reference and CI/CD token guides at docs.doppler.com.
- Official documentation for every subcommand and flag
Security, Auth & Guardrails
Stores auth scopes in ~/.doppler/.doppler.yaml after doppler login, or reads DOPPLER_TOKEN service token env var.
CLI is open-source (Apache-2.0); Doppler SaaS has a free tier and paid team plans.
# Doppler CLI Agent Rules - ALWAYS pass `--only-names` when listing `doppler secrets` so secret values never enter LLM context. - Use `doppler run -- <cmd>` instead of `doppler secrets download` to avoid writing plaintext `.env` files; pin `DOPPLER_TOKEN` to `dev`.
Agent-Ready Command Recipes
Safe Read-Only Queries
doppler secrets --only-names --json
Audits which environment variable keys exist in JSON while completely omitting secret values.
doppler run -- npm test
Passes secrets directly into npm test memory without writing a .env file.
Controlled Writes & Previews
doppler secrets set LOG_LEVEL=debug --config dev --silent
Updates a single key in the dev config while --silent suppresses secret echo.
Strengths for Agents
- +
doppler secrets --only-names --jsonaudits variable presence with zero secret leakage. - +
doppler runinjects environment variables directly into child processes without.envfiles.
Caveats & Pitfalls
- ! Running
doppler secretswithout--only-names(orsecrets get --plain) exposes plaintext values. - ! Requires
DOPPLER_TOKENscoped todevto avoid accidental reads/writes againstprd.