OpenBao vs Vault: why teams choose an open source secrets manager
OpenBao is an identity-based secrets and encryption management system that runs under the MPL-2.0 license in infrastructure you control. It suits teams that want an open source alternative to HashiCorp Vault with community governance. Clients authenticate, policies decide what they may read or do, and OpenBao returns static secrets, short-lived credentials, certificates or cryptographic operations. The OpenBao documentation lists secure secret storage, secrets generated on demand, data encryption, leasing and renewal, and revocation as key features.
In August 2023 HashiCorp announced that future releases of its products, including Vault, would use the Business Source License 1.1. OpenBao continues from Vault's earlier MPL-licensed code. The source repository is listed under MPL-2.0 and includes GOVERNANCE.md, CHARTER.md and MAINTAINERS.md. Its README says the project intends to be led by a community run under open-governance principles, and the documentation describes it as an OpenSSF Sandbox project.
Every secret in OpenBao has a lease, and clients can renew leases through built-in APIs. Every request can be written to an audit device, which gives security teams one place to see who used which secret. With audit logging enabled, the security model says requests and responses are logged before the client receives any secret material.
OpenBao keeps the Vault concepts, API style and much of the CLI, so skills and many clients carry over. Plugins, storage options, token formats and some features differ by release, so plan against the OpenBao documentation for the version you deploy. The support policy says fixes go into the next release and releases come roughly every month. The latest release on the GitHub releases page at the time of writing is v2.7.3, dated 19 Nov 2026.
OpenBao building blocks: auth methods, secrets engines, policies and namespaces
A secrets platform is mostly a set of decisions about identity, paths and lifetimes.
Auth methods
Map each client type to one auth method from the auth docs: OIDC or LDAP for people, Kubernetes or JWT for workloads, AppRole or TLS certificates for other systems. Every method should resolve to an entity with a known owner. If an account is disabled in an external system, renewals are denied but existing tokens stay valid until their TTL ends or they are revoked, so keep TTLs short. Version 2.7.0 removed the built-in LDAP, Kerberos and RADIUS auth engines from the main binary.
Secrets engines
Use KV for static secrets, database engines for short-lived credentials, PKI for internal certificates, Transit for encryption as a service and SSH for signed keys. Every secret has a lease, so set default and maximum lease TTLs per mount and let credentials expire on their own. Clients renew leases through built-in APIs. Version 2.7.0 added ML-DSA post-quantum signatures to PKI and Transit and removed the LDAP secrets engine from the main binary.
Policies
Policies grant permissions on paths and deny everything else. Keep them in version control and test each with a token that holds only that policy. The 2.7.0 release adds Control Groups, an ACL policy stanza that requires a second party to approve requests for specified paths. Review path patterns carefully before you attach a policy to a shared role.
Namespaces
Namespaces provide multi-tenancy in a single instance. Each can hold secrets engines, auth methods, ACL policies, entities, groups and tokens. Requests select a namespace with the X-Vault-Namespace header or an absolute path. Cross-namespace identities are off by default, and endpoints such as sys/audit, sys/seal and sys/rekey work only in the root namespace. Namespaces first shipped in the v2.3.0-beta20250528 pre-release, and 2.6.0 added per-namespace Shamir sealing.
OpenBao Raft HA cluster, PostgreSQL storage backend and auto unseal options
Integrated Storage is a native Raft-based backend that needs no third-party systems. The documentation recommends 5 servers for production, with a quorum of 3 and a failure tolerance of 2. A 3-node cluster tolerates 1 failure, a single server is strongly discouraged and voter counts should stay odd. Spread voters across failure domains on low-latency disks, and monitor leadership changes. Autopilot is enabled by default, so new nodes start as non-voters until they sync with the leader. The file storage backend was removed in 2.7.0, so plan on Raft or PostgreSQL for production.
The PostgreSQL documentation calls the backend production ready and requires PostgreSQL 9.5 or later. HA is off by default and is enabled with ha_enabled. Horizontal read scalability has been supported since v2.7.0 and needs physical replication. With logical replication, disable_standby_reads must be set. This route fits teams with a mature, highly available PostgreSQL service, which then becomes part of the secrets platform's recovery plan. Back up the database on its own schedule and test restores. The 2.7.0 release also lists a PebbleDB storage backend, which is non-HA.
The barrier encrypts data with AES-256 in GCM mode using randomly generated 96-bit nonces. Shamir is the default when no seal stanza is present. Unsealing uses Shamir's Secret Sharing with 5 shares by default, and any 3 reconstruct the root key. Each node needs a quorum of holders after every restart. Name the holders, store shares separately and rehearse an unseal. Shamir suits small clusters where key holders are available at restart. A fleet that restarts often during upgrades is better served by auto-unseal.
The seal documentation lists AliCloud KMS, AWS KMS, Azure Key Vault, GCP Cloud KMS, KMIP Unseal, OCI KMS, OVHcloud KMS, PKCS#11 Unseal, Securosys Primus HSM, Static Key, T Cloud Public KMS and OpenBao Transit. Version 2.6.0 added external KMS plugins. Version 2.7.0 removed the pkcs11, alicloudkms, awskms, azurekeyvault, gcpckms and ocikms seals from the binary, so they are available only as plugins. OpenBao runs a periodic seal health check that encrypts and decrypts a small random payload. The KMS or HSM key becomes a recovery dependency.
OpenBao install route and cluster plan around failure modes
Sizing depends more on request patterns than on the number of secrets stored.
| Concern | Decision | Check |
|---|---|---|
| Quorum | Place Raft voters so that losing one zone or rack still leaves a majority, and keep the voter count odd. | Stopping one node leaves the cluster serving requests, and the stopped node rejoins cleanly. |
| Request load | Estimate logins, short-lived credential requests, certificate issuance and Transit operations per second. | A load test with representative clients stays within agreed latency on the active node. |
| Audit write path | Give audit devices fast, monitored storage or a reliable log endpoint. | A full disk or unreachable endpoint triggers an alert before requests start failing. |
| Load balancing | Route clients through a load balancer that uses the health endpoint to find active and standby nodes. | Clients keep working during a leader step-down. |
| Install route | Pick one of the five routes in the install docs: a package manager, a container registry, a precompiled binary, a source build or Helm for Kubernetes. Source build steps are for development only and should not be relied on for release binaries. | The artifact tested in staging is the one that runs in production, and its version is recorded. |
| Container images | Alpine-based images are published to ghcr.io/openbao/openbao, quay.io/openbao/openbao and docker.io/openbao/openbao. Red Hat UBI-based images use the openbao-ubi names in the same registries, and 2.6.0 added an openbao-distroless variant that contains only the OpenBao executable. | Pinned image tags are mirrored to your internal registry and pass your scanning policy. |
| Kubernetes | The Helm docs call the chart the recommended way to install OpenBao on Kubernetes. It requires Helm 3.6 or later, and the three most recent Kubernetes minor releases are supported and tested. The chart defaults to standalone mode with one server and file storage, which is not appropriate for production. | The deployed values show a multi-server production setup and not the standalone default. |
Harden OpenBao access and configure an audit device
Revoke the initial root token once administrator policies and auth methods are in place. Generate a new root token only through the documented quorum process when one is needed. Version 2.6.0 added /sys/generate-root-token endpoints that replace the deprecated unauthenticated root generation endpoints, so update any runbook that calls the old ones. Give administrators personal identities through OIDC or LDAP with short token lifetimes, and check how your version supplies LDAP. Keep policies, mounts and auth configuration as code so every change is reviewed and repeatable.
The audit documentation says OpenBao will not respond to requests when no enabled audit device can record them, and a blocking write to one device stalls all requests. Device types are File, HTTP, Syslog and Socket. That protects the audit trail and makes audit storage an availability dependency, so enable two devices where possible and monitor each one. From v2.3.2, enabling audit devices through the API or CLI requires unsafe_allow_api_audit_creation = true in the server configuration, and v2.4 and later manage audit devices in server configuration.
The audit configuration documentation says declarative audit devices are defined in audit stanzas and applied on restart and SIGHUP. They cannot be modified and cannot duplicate API-created devices. Use internal CA certificates on the API and cluster ports, restrict network access to them, and review swap and core dump settings on the hosts. Server-to-server traffic in a cluster uses mutually authenticated TLS. Fixes ship in the next release, so staying close to the latest version is part of the security posture.
OpenBao migration from Vault: in-place and logical paths
OpenBao's migration guide describes an in-place migration in which OpenBao replaces the Vault process on each node in turn. It was tested from Vault Community Edition 1.14.1 with Raft storage and Shamir unseal to OpenBao 2.2.0. Vault Enterprise was not tested. Older Vault versions should first be upgraded to 1.14.1, and newer Vault versions are untested and unsupported, with no guarantee of storage compatibility.
The guide migrates followers one at a time with bao operator raft join and bao operator unseal. Wait for Voter to be true in bao operator raft list-peers before you move to the next node, and step down the leader last. New tokens use the form [sbr].<random>, and existing Vault tokens stay valid until their TTLs expire, so check clients that parse tokens. Remove disable_mlock from the configuration, because OpenBao no longer uses mlock as of 2.0.0.
Before migrating, list every secrets engine and auth method in use. OpenBao ships without many plugins by default, and mounts whose plugin is missing are skipped at startup. File audit devices need write access to the existing log. Read the release notes of the target version too, since 2.7.0 removed the file storage backend, several seals and the built-in LDAP, Kerberos and RADIUS auth engines from the main binary.
Clusters on later Vault versions or Vault Enterprise usually need a logical migration. Build a new OpenBao cluster, apply policies, mounts and auth methods from code, copy static secrets, reissue certificates or import the CA where appropriate, and move applications in groups. Applications request new short-lived credentials from the new cluster.
OpenBao backup, restore and upgrade questions
What should we back up?
Take scheduled Raft snapshots with bao operator raft snapshot save <snapshot_file>, or back up the PostgreSQL storage, and copy them off the cluster together with configuration and policy code. Protect the unseal key shares or the KMS key under separate control, because a snapshot cannot be used without them. Keep the mount inventory and audit configuration in the same backup set so a restore target can be rebuilt without guesswork.
How do we rehearse a recovery?
Restore a snapshot into an isolated cluster with bao operator raft snapshot restore <snapshot_file>. Run it directly against the active node, because the command does not follow redirects. Unseal the cluster, check policies, mounts and sample secrets, then issue a certificate and a short-lived credential. Record the result and the elapsed time. Repeat the rehearsal after major upgrades and seal changes.
How do upgrades work?
Take a snapshot, upgrade standby nodes one at a time and confirm each rejoins, then step down the active node and upgrade it last. Read the release notes in between for removed plugins, seals, storage backends and configuration changes. Version 2.7.0, for example, removed the file storage backend and several built-in seals, so a configuration that worked on 2.6 may need changes before the node starts.
Which OpenBao version should we run?
The support policy says a best effort will be made to identify and debug issues, fixes go into the next release, and releases come roughly every month pending maintainer availability. The GitHub releases page shows v2.7.3 and v2.6.6, both dated 19 Nov 2026. Plan regular upgrades and test them in a staging cluster so you can move quickly when an advisory is published.
What happens when a Raft node fails?
Autopilot is enabled by default. New nodes start as non-voters until they sync with the leader, and dead nodes can be removed through the Autopilot API. The Raft CLI docs list these defaults: last-contact-threshold 10s, max-trailing-logs 1000, server-stabilization-time 10s and cleanup-dead-servers false. Automatic cleanup needs min-quorum to be set, so review the values against your network latency.
How do we report a suspected vulnerability?
The README in the source repository asks you to report suspected vulnerabilities privately to openbao-security@lists.openssf.org. Because fixes ship in the next release, track advisories and keep a tested upgrade path ready. Agree in advance who approves an emergency upgrade and how a patched version reaches staging first. Rehearsed upgrades shorten the gap between an advisory and a patched cluster.
Who owns an OpenBao deployment
A secrets platform needs owners for the cluster, the policies, the keys and the applications that consume it.
Platform team
- Runs the cluster, storage, load balancer and TLS.
- Takes snapshots and applies upgrades.
- Monitors leadership, latency, leases and audit devices.
Key custodians
- Hold unseal or recovery key shares under a written procedure.
- Join unseal, rekey and root token operations.
- Control access to the auto-unseal KMS or HSM key.
Security
- Reviews policy changes and privileged identities.
- Watches audit logs for unusual access.
- Tracks advisories and upgrade timing.
Application teams
- Request mounts and policies through change control.
- Use short-lived credentials and renew leases.
- Remove secrets for retired services.
OpenBao install, docker image, Helm and release questions
Will our Vault clients work with OpenBao?
Many clients that use the Vault HTTP API work unchanged, and OpenBao namespaces accept the same X-Vault-Namespace header. Test each client, especially those that parse token strings or depend on a plugin OpenBao does not ship. Release 2.7.0 also moved some built-in auth engines out of the main binary, so confirm how your version supplies each method your clients use.
Can OpenBao be our internal certificate authority?
The PKI engine can issue short-lived certificates from an intermediate CA. Keep the root CA offline, define roles that limit names and lifetimes, and decide how certificates are revoked and how the CRL or OCSP responder is published. Release 2.7.0 lists ML-DSA post-quantum signatures in PKI, so confirm that your clients accept the algorithms before you use them.
How do I do an OpenBao install?
The install docs list five routes: a package manager, a container registry, a precompiled binary, a source build and Helm for Kubernetes. A precompiled-binary install needs only the bao binary, or bao.exe on Windows. Source build steps are for development only and should not be relied on for release binaries. Choose the route your platform team already supports and pin the version.
Which OpenBao docker image should we use?
Alpine-based images are published to ghcr.io/openbao/openbao, quay.io/openbao/openbao and docker.io/openbao/openbao. Red Hat UBI-based images use the openbao-ubi names in the same three registries. The 2.6.0 release notes, dated July 14, 2026, add a distroless variant named openbao-distroless that contains only the OpenBao executable. Mirror the tag you choose to an internal registry and scan it.
How do we run OpenBao on Kubernetes with Helm?
The Helm docs call the chart the recommended way to install and configure OpenBao on Kubernetes. It requires Helm 3.6 or later, and the three most recent Kubernetes minor releases are supported and tested. Add the chart repository with helm repo add under the openbao name. The chart defaults to standalone mode with one server and file storage, which is not appropriate for production.
What is the latest OpenBao release?
At the time of writing, the GitHub releases page shows v2.7.3, dated 19 Nov 2026, alongside v2.6.6 of the same date. Releases come roughly every month under the support policy. Read the release notes before each upgrade. Version 2.6.0 (July 14, 2026) added external KMS plugins and namespace sealing, and 2.7.0 (September 23, 2026) removed the file storage backend and several built-in seals and auth engines.
What does the OpenBao MPL-2.0 license mean for us?
The source repository is listed under MPL-2.0. HashiCorp announced in August 2023 that future Vault releases would use the Business Source License 1.1, and OpenBao continues from Vault's earlier MPL-licensed code. The repository carries GOVERNANCE.md, CHARTER.md and MAINTAINERS.md. Ask your legal team to review the license text against your own use.
Scope and handover for an OpenBao deployment
Effort depends on the number of applications and teams, the auth methods and secrets engines required, whether a Vault migration is in scope, seal and HSM choices, availability targets and the change process for policies. Application onboarding usually takes longer than building the cluster.
DeployOpen designs the cluster, seal and policy structure, then deploys and hardens OpenBao in your environment. It integrates SSO for administrators and workload identity for applications, runs Vault migrations, sets up snapshots and a restore rehearsal, and documents upgrades.
Handover includes the policy repository, key custodian procedure, mount inventory, restore test record and upgrade runbook.
Sources and further reading
- OpenBao documentation ↗
- OpenBao migration guide from Vault ↗
- OpenBao source repository (MPL-2.0) ↗
- HashiCorp announcement of the Business Source License ↗
- OpenBao install docs ↗
- OpenBao Helm docs ↗
- OpenBao integrated storage docs ↗
- OpenBao Raft CLI docs ↗
- OpenBao PostgreSQL docs ↗
- OpenBao security model ↗
- OpenBao seal docs ↗
- OpenBao auth docs ↗
- OpenBao namespaces docs ↗
- OpenBao audit docs ↗
- OpenBao audit configuration docs ↗
- OpenBao support policy ↗

