OpenBao
$ bao Foundation High RiskOpenBao (bao) is the Linux Foundation-hosted open-source fork of HashiCorp Vault under MPL-2.0. It maps cleanly to the HTTP API with universal -format=json (or BAO_FORMAT=json), -field extraction, and bao path-help self-description, making non-interactive secret inspection and controlled KV writes predictable for agents.
brew install openbao bao offers deterministic -format=json, -field, and BAO_TOKEN headless auth directly against OpenBao servers without an intermediate MCP proxy holding secrets.
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
First-class -format=json (BAO_FORMAT=json), -field selection, bao path-help introspection, and BAO_TOKEN headless auth.
- Universal
-format=jsonand-fieldflags - Self-describing
bao path-helpendpoint docs
Policy-enforced RBAC and audit logging on the server, though bao kv get returns plaintext secrets to stdout and destroy/delete operations are high-impact.
- Server-side ACL policies; high-risk secret exposure on read
Single static Go binary available via brew install openbao, go install, and GitHub Releases for macOS, Linux, and Windows.
- Official Homebrew formula and multi-OS Go binaries
Drop-in Vault CLI compatibility with KV, PKI, Transit, and Auth engines in one binary.
- Covers full secrets engine surface area
Governed by the Linux Foundation with strong enterprise backing and rapid releases.
- OpenSSF/Linux Foundation stewardship
Thorough command documentation at openbao.org plus built-in -h and path-help.
- Official docs at openbao.org/docs/commands/
Security, Auth & Guardrails
Reads BAO_TOKEN / BAO_ADDR env vars or stores tokens in ~/.vault-token (or configured token helper).
100% free and open-source (MPL-2.0); self-hosted server infrastructure costs apply.
# OpenBao Agent Rules - Export `BAO_FORMAT=json` and inspect keys with `bao kv list` before reading secrets. - Never print raw `bao kv get` outputs into shared logs or chat transcripts; require confirmation for `bao kv destroy` or `bao secrets disable`.
Agent-Ready Command Recipes
Safe Read-Only Queries
bao status -format=json
Reports initialization, seal state, cluster version, and leader metadata in structured JSON.
bao kv list -format=json secret/app/
Enumerates secret key names under secret/app/ as JSON without fetching secret payloads.
Controlled Writes & Previews
bao kv put -format=json secret/app/config env=staging
Creates a new versioned entry at secret/app/config and returns version metadata as JSON.
Strengths for Agents
- + Consistent
-format=jsonand-fieldsupport across almost every subcommand. - + Truly open-source MPL-2.0 governance under the Linux Foundation with Vault CLI compatibility.
Caveats & Pitfalls
- !
bao kv getprints plaintext secret values to stdout unless scoped or masked by caller. - ! Destructive operations like
bao kv destroyorbao lease revokelack a built-in--dry-run.