Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

OpenBao

$ bao Foundation High Risk
OpenBao · Security & Secrets · MPL-2.0 · macos / linux / windows

OpenBao (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.

FCRS-1.0 Score
88 /100
Good
Medium Confidence
Zero-Friction Install
brew install openbao
CLI vs MCP Decision CLI Preferred vs MCP

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

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

First-class -format=json (BAO_FORMAT=json), -field selection, bao path-help introspection, and BAO_TOKEN headless auth.

  • Universal -format=json and -field flags
  • Self-describing bao path-help endpoint docs
Trust & Safety 19 / 25

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
Setup & Portability 14 / 15

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
Utility & Efficiency 14 / 15

Drop-in Vault CLI compatibility with KV, PKI, Transit, and Auth engines in one binary.

  • Covers full secrets engine surface area
Maintenance & Lineage 9 / 10

Governed by the Linux Foundation with strong enterprise backing and rapid releases.

  • OpenSSF/Linux Foundation stewardship
Docs & Verifiability 9 / 10

Thorough command documentation at openbao.org plus built-in -h and path-help.

  • Official docs at openbao.org/docs/commands/

Security, Auth & Guardrails

Auth Modes
Env API Key OAuth Browser Config File
Credential Storage

Reads BAO_TOKEN / BAO_ADDR env vars or stores tokens in ~/.vault-token (or configured token helper).

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

100% free and open-source (MPL-2.0); self-hosted server infrastructure costs apply.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Check OpenBao seal and server status as JSON
bao status -format=json

Reports initialization, seal state, cluster version, and leader metadata in structured JSON.

List KV v2 secret keys without revealing values
bao kv list -format=json secret/app/

Enumerates secret key names under secret/app/ as JSON without fetching secret payloads.

Controlled Writes & Previews

Write a versioned KV v2 secret
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=json and -field support across almost every subcommand.
  • + Truly open-source MPL-2.0 governance under the Linux Foundation with Vault CLI compatibility.

Caveats & Pitfalls

  • ! bao kv get prints plaintext secret values to stdout unless scoped or masked by caller.
  • ! Destructive operations like bao kv destroy or bao lease revoke lack a built-in --dry-run.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI