clavis

mcp
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Basarisiz
  • rm -rf — Recursive force deletion command in .github/workflows/publish-action.yml
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Open-source secrets management for humans, machines, and AI agents. One Go binary, typed config, dynamic credentials, JIT access.

README.md

Clavis

Secrets management for humans, machines, and AI agents

One Go binary with an embedded UI. Typed config, dynamic credentials, JIT access,
and an auditable path for coding agents.

No unseal ceremony. No enterprise edition. Every feature free.

CI
Security
License: Apache-2.0
Go

Website ·
Quickstart ·
CLI reference ·
AI agents ·
Security ·
FAQ


Clavis secrets grid across dev, staging, and prod, with a promote dialog copying two keys to staging

Clavis (Latin for key) stores application secrets — API keys, database URLs,
certificates — shares them safely with your team, injects them into apps, CI,
and Kubernetes, and lets AI coding agents use secrets without ever seeing
their values.

Recorded tour of the web UI: secrets across dev, staging and production with a reveal, the schema editor, a promotion plan from dev to staging, agent identities, and the audit log

Terminal session: clavis login, link, run with masked secrets, check, and an agent allowlist

Recorded terminal session: clavis run masks a secret and offers --reveal, --reveal shows one key, clavis secrets duplicates and clavis env similar find repeated values, and clavis doctor checks the setup

Quick start

docker run -d --name clavis --restart unless-stopped \
  -p 8080:8080 -v clavis-data:/data \
  dumhouse/clavis:latest

Running it on a server or in a home lab? The
install wizard writes a compose
file with HTTPS (self-signed, or Let's Encrypt even for a LAN-only server) and a
ready setup link.

The same image is on ghcr.io/dumhouse/clavis. Pin a version such as
dumhouse/clavis:0.3.3 for production.

Install the CLI (it is the same binary as the server):

Platform Command
macOS brew install dumhouse/tap/clavis
Windows scoop bucket add dumhouse https://github.com/Dumhouse/scoop-bucket && scoop install clavis
Linux or macOS curl -fsSL https://raw.githubusercontent.com/dumhouse/clavis/main/scripts/install.sh | bash
Debian, Ubuntu, Fedora, Alpine .deb, .rpm and .apk files on the releases page

All methods, including go install, are listed in the CLI docs.

  1. Open the setup link from the log (docker logs clavis 2>&1 | grep setup_url),
    or open http://localhost:8080/setup and paste the token from
    docker exec clavis clavis setup-token.
  2. Create the owner account. A welcome flow then asks for your organization,
    first project and stack, and shows the commands for your OS. Setup closes for good.
  3. Link a repo and run your app with secrets injected:
clavis login
clavis init --project web-app --env development
clavis run pnpm dev            # output is masked against injected values

Clavis flags go before your command and -- is optional, so
clavis run rails s -p 3001 passes -p 3001 to Rails. Save the command once
in .clavis.yaml and a plain clavis run starts it:

# .clavis.yaml (commit it, it holds no secrets)
project: web-app
env: development
run: pnpm dev

Locked out on a server without email? docker exec clavis clavis admin reset-password [email protected]
prints a one-time reset link. Every command, with flags and examples, is in the
CLI reference.

[!IMPORTANT]
The data directory holds the SQLite database and the root key. Back up the
root key separately from database backups — without it, ciphertexts cannot be
decrypted. See self-hosting for PostgreSQL, KMS, and HA.

Secrets management

Every environment side by side, with inheritance, versioning, and a typed
contract that tells you what is missing before you deploy.

Environments + inheritance

Development, staging, production, branch environments, and regional overlays without copy-paste.

Versioning + rollback

Every change is an immutable version. Rollback creates a new one instead of rewriting history.

Promotion + snapshots

Diff two environments, tick the keys to copy, and snapshot the target first. Protected targets wait for approval.

Explore secrets →

Schema coverage: each key with its type and a pass or fail mark for development, staging, and production

Typed config

Declare types, patterns, enums, and where each key is required. Commit the
schema next to your code and let CI reject bad values.

Types + patterns

url, int, bool, json, enum, and regular expressions, per key and per environment type.

Generated loaders

zod for TypeScript, a struct for Go, pydantic for Python. Your app fails fast on bad config.

CI gate

clavis check exits 6 on any missing or invalid value, so drift never reaches production.

Explore the schema →

A clavis.schema.yaml file next to a failing clavis check for production

Access + dynamic secrets

Grant access for an hour, not forever. Issue database and cloud credentials that
expire on their own.

JIT access + approvals

Request a role for a limited time with a reason. An Admin or Owner approves, and it is all audited.

Dynamic credentials

Short-lived PostgreSQL roles and AWS STS credentials that renew, expire, and revoke when a command exits.

Rotation + expiry

Rotation schedules, expiry reminders, and health findings for stale or weak secrets.

Explore access →

A pending one-hour production access request above a list of expiring dynamic leases

AI coding agents

Agents shouldn't see your secrets. Let them use secrets without reading them.

A sandboxed agent calls run_with_secrets through clavis mcp; an allowlist check passes pnpm test with masked output and denies printenv
Deny-all allowlist Values never returned Audited before decryption
Each agent has its own identity and runs only the exact commands you allow. Production is out of scope. MCP tools list key names and run commands. No tool returns a value, and output is masked. The command text is written to the audit chain before any value is decrypted, allowed or denied.
clavis identities create claude-code --type agent --project web-app
clavis agents allow claude-code "go test ./..." "pnpm test"
claude mcp add clavis -- clavis mcp --agent claude-code     # no token in the config

Clavis protects what reaches the agent through MCP; pair it with your agent's
sandbox. Read what this protects, and what it does not.

Everything included. No paid tier.

SSO, RBAC, approvals, rotation, and dynamic secrets ship in the same Apache-2.0
build as everything else.

✅ Encrypted share links✅ Syncs to GitHub, Vercel, Fly.io, AWS, GCP, Netlify, Cloudflare, Vault, Forgejo✅ Importers for Infisical, Doppler, Vault, 1Password, .env
✅ Kubernetes operator + CSI driver✅ External Secrets webhook✅ OIDC + SAML SSO, SCIM
✅ PostgreSQL HA✅ Encrypted scheduled backups✅ Secret scanning
✅ Offline encrypted cache✅ OpenAPI 3.1✅ Hash-chained, verifiable audit log
How Clavis compares with Vault, Infisical, and Doppler

From each vendor's public pricing and docs, checked November 2026. "Paid" and
"Enterprise" mean the feature exists but not on the free plan.

Clavis Vault Infisical Doppler
License Apache-2.0 BSL 1.1 MIT core + paid Proprietary
Self-hosting ✅ ✅ ✅ Enterprise
Single binary with embedded UI ✅ ✅ — —
SSO and RBAC ✅ ✅ Paid Paid
Dynamic database and cloud credentials ✅ ✅ Paid Enterprise
Time-limited access and approvals ✅ Enterprise Paid Paid
Typed schema ✅ — — Value types
Generated typed config loaders ✅ — — —
MCP server ✅ Beta ✅ ✅
Agents run commands without seeing values ✅ — Separate product —
Expiring share links ✅ — ✅ ✅
Product tour: real screens
Promotion plan
Promotion — added, changed, and missing keys before anything is written.
Agent identities
Agents — identities, expiry, and deny-all command allowlists.
Schema editor
Schema — the typed contract, editable here or committed as YAML.
Audit log
Audit — hash-chained and verifiable, with no secret values.

More in the screenshot tour.

Security you can inspect

  • Envelope encryption — values are encrypted with a per-project key before they reach the database.
  • Separate root key — AWS KMS, GCP KMS, a 0600 file, or Shamir shares, never next to the data.
  • Default-deny routes — every API route declares the permission it needs; undeclared routes fail closed.
  • Signed, reproducible releases — cosign keyless signatures, SBOMs, and reproducible builds.

Read the security design and the
vulnerability disclosure policy.

FAQ

Is Clavis really free? What is the catch?

Everything is Apache-2.0, including SSO, RBAC, approvals, rotation, dynamic
secrets, and agent features. There is no enterprise edition and no feature is
held back for a paid tier. The project is funded through sponsorships and
optional paid support, kept separate from the code.
See the sustainability policy.

How is Clavis different from HashiCorp Vault or OpenBao?

Vault is a general-purpose security toolkit with a large plugin ecosystem.
Clavis focuses on application secrets: one binary with an embedded UI, a setup
wizard instead of an unseal ceremony by default, typed config with codegen,
environment promotion, and a safe path for AI agents. If you need Vault's PKI or
transit engines, keep Vault; Clavis can sync to it.
See migrating from Vault.

Can AI coding agents see my secret values?

Not through Clavis. Agents get their own identity with read-names and use only,
a deny-all command allowlist, and MCP tools that never return values. An allowed
command does receive the secrets in its environment, so pair Clavis with your
agent's sandbox and keep production out of agent scope.
See what this protects, and what it does not.

What happens if I lose the root key?

Encrypted values cannot be recovered without it, which is the point of keeping
it separate from the database. Back it up apart from database backups, or keep
it in AWS KMS or GCP KMS, or split it into Shamir shares held by different
people. See self-hosting.

Which database do I need?

None to start: Clavis uses an embedded SQLite database by default. Switch to
PostgreSQL when you want high availability or several server replicas.

Can I migrate from Infisical, Doppler, Vault, or .env files?

Yes. clavis import reads from Infisical, Doppler, Vault and OpenBao,
1Password Connect, AWS Secrets Manager, GCP Secret Manager, and .env files.
Every import supports a dry run, and the source stays readable until you cut
over. See the migration guides.

Is Clavis ready for production?

Clavis is at v0.2, an early release. The feature set planned for 1.0 is in
place, and the project is in its hardening phase: security review, load
testing, and release verification. Read the security design and follow the
releases before relying on it for critical systems. See the roadmap.

Documentation

Get started Operate Reference
Quickstart Self-hosting CLI reference
CI and machine tokens Security design Architecture
AI agents and MCP Supply chain Data model
Migration guides Reproducible builds API stability

Development

For working on Clavis itself. The Makefile is at the root of this
repository, so run these from a clone (you need Go, Node.js and pnpm; see
CONTRIBUTING.md):

git clone https://github.com/dumhouse/clavis.git && cd clavis
make dev                    # open http://localhost:8080 (the web UI reloads as you edit)
make build                  # builds ./bin/clavis with the web UI embedded
./bin/clavis server         # runs that build on :8080
make docs-dev               # this documentation website on :5174

You don't need any of this to use Clavis: install it with Docker or a
package as shown above.

See CONTRIBUTING.md for the toolchain, tests, and commit
conventions. The website is built from docs/ with
VitePress; README images are regenerated with node docs/scripts/readme-images.mjs
and node docs/scripts/terminal-demo.mjs.

Status: feature-complete for 1.0; hardening and launch work is tracked in
project/tasks/M6-launch.md.

Community

License

Apache-2.0 for everything: server, CLI, web UI, SDKs, and operator.
One license, one edition.

Yorumlar (0)

Sonuc bulunamadi