You
Keep control in your hands
The secrets manager for developers and AI agents.
Move your secrets out of .env. Your app gets its values
when it starts, and Claude Code, Cursor or Codex get a token that lists
secret names without the values.
Dopbase is Apache 2.0. You can read how it encrypts, stores and delivers every secret.
# run secrets manager
$ dopbase server start
# import an existing environment
$ dopbase init api/development --from .env
# run the app without a .env file
$ dopbase run api/development -- npm start
api / development Works with the coding agents you already use
- Claude Code
- Cursor
- Codex
- OpenCode
- DeepSeek Harness
- Hermes Agent
- OpenClaw
Just run
- 01Serve
Run a local server or use a remote Dopbase endpoint.
- 02Connect
Point the command-line client at that server.
- 03Manage
Organize secrets by project and environment.
- 04Run
Deliver that environment to an application process.
Why Dopbase
Your coding agent can read your .env file.
Claude Code, Cursor and Codex can open any file in your project, and
.gitignore doesn't stop them. The same file also gets copied
to teammates, CI jobs and servers, where values drift and old credentials
hang around.
Dopbase keeps the key and value model you know. It adds encrypted storage, access per project and environment, an audit log, and delivery into the process when the app starts.
Product demo
See Dopbase in action.
Create a project and environment, add a secret, then pass it to a local app from the command line.
The Dopbase model
Project. Environment. Secret.
A project represents an application or service. Environments separate development, staging, and production values. Each secret has its own record instead of being hidden inside one opaque file.
Project
payment-service
Environments
- development
- staging
- production
Secrets in staging 3 keys
-
DATABASE_URLv2 -
STRIPE_SECRET_KEYv4 -
REDIS_URLv3
Who uses Dopbase
One project. Three readers.
The same secrets look different depending on who asks.
A CI runner
Read on one environment, through dopbase run.
Your coding agent
Names only. Enough to write an .env.example.
One executable, two roles
The server stores the data. The client requests it.
dopbase server start Server
The server contains the API and Admin UI, stores encrypted secrets in SQLite, and handles authentication and audit records.
dopbase run Client
The client connects to the server, selects an environment, and passes its values to an application process.
Where it runs
Your secrets stay on your server.
Practical guides
Secrets management and safer AI coding
From the blog
All posts
Can AI coding agents read your .env file? Yes. Claude Code, Cursor and Codex can usually read an ignored .env file. Learn where credentials leak and how to keep real secrets outside the workspace.
How to keep .env secrets away from AI coding agents Move real values out of the project, give Claude Code, Cursor or Codex secret names only, and run credentialed code after you have reviewed it.
How to use DeepSeek with Claude Code Set up DeepSeek with Claude Code on macOS or Linux. Configure your API key, endpoint, and models, then use Dopbase to keep the settings in one place.
Best open-source self-hosted secrets manager for developers Looking for the best open-source self-hosted secrets manager? Compare Dopbase with Infisical and see why a focused Rust-based workflow can fit developers.
Best secrets management tools for developers in 2026 Compare secrets management tools for developers: what each is good at, and where a small self-hosted option fits.
How to share .env variables securely with your team Compare secure ways to share .env variables with your team, from password managers and encrypted files to runtime secret injection with Dopbase. Questions about Dopbase and AI agents
What is Dopbase?
Dopbase is a secrets manager for developers and AI coding agents. It keeps the values from your .env files in one place, sorted by project and environment, and gives people, apps and AI agents only the access they need.
How does Dopbase work?
You import a .env once with dopbase init and delete the file. When you start your app with dopbase run, Dopbase loads that environment's values into the process. Your coding agent connects with its own token and gets only what that token allows.
Can AI coding agents read my .env file?
Yes. Claude Code, Cursor, Codex and other agents can open any file in your project, and .gitignore doesn't stop them. With Dopbase there's no .env left in the project to read.
Does Dopbase control my AI agent?
No. Dopbase doesn't run or watch your agent. It controls what the agent's token can reach: one project or environment, at Names only, Read or Write, for 90 days at most. You can revoke the token at any time and check what it did in the audit log.
How do I give an AI agent access to secrets without the values?
Give it a Names only token. It can list projects, environments, secret names and versions, which is enough to check config or write an .env.example. Dopbase refuses --reveal, run and secret set for that token.
Is Dopbase free and open source?
Dopbase is open source under Apache 2.0, and it's free to run on your own server.
Is Dopbase an alternative to Doppler, Infisical or HashiCorp Vault?
For application secrets, yes. Dopbase stores them by project and environment with access control and an audit log, in one binary. It isn't a certificate authority, an SSH access tool or a database proxy, so keep Vault or Infisical if you need those.
Move your secrets out today.
Running on your machine in a few minutes.