Dopbase is an open-source, self-hosted secrets manager for developers who work with AI coding agents like Claude Code, Cursor and Codex. Delete the .env file, store secrets by project and environment, and inject them into any command with dopbase run.
The server, CLI, REST API and web Admin UI ship in one Rust executable backed by SQLite, so there is nothing else to deploy. Every value gets its own XChaCha20-Poly1305 data key, wrapped by a master key kept outside the database. AI agent tokens can start at names only: they list and compare secrets but can't read values.
Roles, groups, per-environment grants, version history with rollback, encrypted backups and a hash-chained audit log are built in. Runs on macOS and Linux (AMD64 and ARM64) or in Docker. Apache 2.0 licensed.
Website: https;//dopbase.com
Features
- Run any command with secrets injected as environment variables, no .env file on disk
- One executable: server, CLI, REST API and web Admin UI
- Per-secret encryption with XChaCha20-Poly1305 and a separate master key
- Name-only tokens for AI agents like Claude Code, Cursor and Codex
- Projects, environments, roles, groups and per-environment grants
- Secret version history and one-command rollback
- Import and export dotenv, JSON, YAML, TOML and Docker env files
- File secrets such as .pem keys, mounted as temporary files
- Hash-chained audit log you can check with dopbase audit verify
- Encrypted backups and restore
- Self-hosted on SQLite, with a Docker image
- Optional single sign-on