You Ran Vault For Years. Now Two Logos Are Fighting Over It.
HashiCorp moved Vault to the Business Source License. IBM bought HashiCorp. Vault then jumped from 1.21 straight to 2.0. Meanwhile a Linux Foundation fork called OpenBao keeps shipping releases on the old open license. If you run Vault in a home lab or a small team, you are probably wondering whether you have to move.
Short answer: no, you do not have to move, and for most self-hosters the license text does not touch you. But if you are starting fresh in December 2026, I would start on OpenBao. I will show you why, where Vault still wins, how to run both in Docker, and how far the migration path actually goes.
Everything below comes from the license file, release notes, and docs as of December 2026. Versions move, so check the tags before you copy anything.
Full example: Clone the working files at github.com/KingPin/sumguy-examples/security/openbao-vs-vault
What the BSL Actually Forbids
Vault’s LICENSE file names IBM as licensor and covers “Vault Version 1.15.0 or later”. The Additional Use Grant says you may make production use of the work, with one exception: you cannot offer it to third parties “on a hosted or embedded basis in order to compete with IBM Corp’s paid version(s)”.
Read the definitions next. A “competitive offering” must be offered to third parties on a paid basis, and its capabilities must overlap with IBM’s paid Vault to a degree the license describes as “significantly overlaps with the capabilities of IBM Corp’s paid version(s)”. Products that are not provided on a paid basis are not competitive. And this line settles most home-lab worries: “Hosting or using the Licensed Work(s) for internal purposes within an organization is not considered a competitive offering.”
So here is who is affected:
- You run Vault for your own lab, family, or company: not affected.
- You sell a hosted secrets manager built on Vault: affected.
- You ship Vault inside a paid product that competes with IBM’s: affected.
- You are a consultant who deploys Vault for clients to run themselves: ask a lawyer, because the grant talks about “embedded” and “paid support arrangements”.
The license also has a change date. Each version converts to MPL 2.0 four years after its first public release. So Vault 1.15 turns into MPL code on its own schedule, but the version you want today does not.
This is not legal advice. Binding interpretation lives in HashiCorp’s license FAQ, which the license itself points to.
What OpenBao Is, and Who Runs It
OpenBao forked from the last MPL-licensed Vault line, 1.14.x. It is licensed MPL-2.0 and lives at github.com/openbao/openbao. The latest release at the time of writing is v2.7.3 from November 19, 2026, and a v2.6.x maintenance line gets patches on the same day (v2.6.6).
Governance matters when a fork is the whole reason for a project to exist. The project charter names OpenBao as “a Series of LF Projects, LLC”, adopted June 13, 2024, with a move to OpenSSF on June 5, 2025. A Technical Steering Committee oversees the code.
Vault, for its part, is not abandoned. IBM closed the HashiCorp acquisition on February 27, 2025. Vault 2.0 reached general availability on April 14, 2026, and 2.2.2 shipped on November 12. HashiCorp says the 1.21 to 2.0 jump aligns Vault with IBM’s versioning and support model, so read the new major number as a support-policy marker.
The Feature Gap, In One Table
Here is what each project ships today, per the OpenBao release notes and HashiCorp’s own editions page.
| Feature | OpenBao | Vault Community | Vault Enterprise |
|---|---|---|---|
| License | MPL-2.0 | BSL 1.1 | Commercial |
| Namespaces | Yes, since the 2.3 line | No | Yes |
| Control groups | Yes (2.7.0) | No | Yes |
| HSM auto-unseal | PKCS#11 via external plugin | No | Yes |
| Performance and DR replication | No | No | Yes |
| Sentinel policies | No | No | Yes |
| Storage backends | Raft, PostgreSQL, PebbleDB, in-memory | Raft, Consul, community backends | Raft and Consul (officially supported) |
| AWS, GCP, Azure secrets engines | Not all built in | Yes | Yes |
Two rows deserve a comment.
Namespaces. HashiCorp’s editions page says Enterprise supports namespaces and Community does not. OpenBao added them in the 2.3 series, with an API compatible with upstream’s. If you want tenant isolation without paying IBM, OpenBao is the free option that has it.
Plugins. This is the real cost of the fork. OpenBao’s own migration guide warns that it “comes without many plugins” by default. Its sample error log shows an aws secrets engine failing with “plugin not found in the catalog”. If you lean on Vault’s dynamic AWS, GCP, or Azure credentials, test that before anything else.
OpenBao also has features I could not match against Vault’s docs, so they are not in the table: paginated LIST (2.0.0), declarative self-initialization (2.4.0), and read scaling on standby nodes (2.5.0, extended to PostgreSQL in 2.7.0). HashiCorp’s editions page does not list matching features, so they stay out of the comparison.
Run Both With Docker Compose
The official images live at openbao/openbao on Docker Hub (also quay.io/openbao/openbao and ghcr.io/openbao/openbao). Vault’s image is hashicorp/vault. Both publish exact version tags, so pin them instead of using latest.
Here is a dev-mode setup for both. Dev mode keeps everything in memory and loses it on restart. It is for kicking the tires only.
services: openbao: image: openbao/openbao:2.7.3 ports: - "127.0.0.1:8200:8200" environment: BAO_DEV_ROOT_TOKEN_ID: "dev-root" BAO_ADDR: "http://127.0.0.1:8200"
vault: image: hashicorp/vault:2.2.2 ports: - "127.0.0.1:8201:8200" environment: VAULT_DEV_ROOT_TOKEN_ID: "dev-root" VAULT_ADDR: "http://127.0.0.1:8200"The OpenBao image’s default command is server -dev -dev-no-store-token, so no command: line is needed. Both entrypoints read the dev root token from an env var (BAO_DEV_ROOT_TOKEN_ID, VAULT_DEV_ROOT_TOKEN_ID) and listen on 0.0.0.0:8200 inside the container.
Write and read a KV v2 secret with each CLI. Dev mode mounts KV v2 at secret/ for you:
docker compose -f docker-compose.dev.yml up -d
# OpenBaodocker compose -f docker-compose.dev.yml exec -e BAO_TOKEN=dev-root openbao \ bao kv put -mount=secret app/db password=hunter2docker compose -f docker-compose.dev.yml exec -e BAO_TOKEN=dev-root openbao \ bao kv get -mount=secret app/db
# Vaultdocker compose -f docker-compose.dev.yml exec -e VAULT_TOKEN=dev-root vault \ vault kv put -mount=secret app/db password=hunter2docker compose -f docker-compose.dev.yml exec -e VAULT_TOKEN=dev-root vault \ vault kv get -mount=secret app/dbSame flags, same output shape, different binary name. Inside the OpenBao image, /usr/bin/vault is a symlink to bao, and the CLI prefers BAO_ variables but falls back to VAULT_ ones. Your muscle memory and your shell scripts mostly survive.
A Real OpenBao Setup With Raft
Dev mode is a toy. For actual use you want persistent storage, a config file, and a seal. This setup uses Integrated Storage (Raft) on one node. Raft needs cluster_addr set, and the listener needs api_addr advertised, even on one node.
ui = true
storage "raft" { path = "/openbao/file" node_id = "bao-1"}
listener "tcp" { address = "0.0.0.0:8200" tls_disable = true}
api_addr = "http://127.0.0.1:8200"cluster_addr = "http://127.0.0.1:8201"tls_disable = true is acceptable only when a reverse proxy terminates TLS in front of it, or when you bind to localhost. Otherwise set tls_cert_file and tls_key_file on the listener. The image runs as a non-root openbao user and creates /openbao/file for storage, so the named volume below works without a chown dance.
services: openbao: image: openbao/openbao:2.7.3 command: server restart: unless-stopped ports: - "127.0.0.1:8200:8200" environment: BAO_ADDR: "http://127.0.0.1:8200" volumes: - ./config:/openbao/config - bao-data:/openbao/file
volumes: bao-data:The entrypoint passes -config=/openbao/config when the command is server, so every file in that folder loads. There is no IPC_LOCK capability to add, because OpenBao stopped using mlock in 2.0.0.
Now initialize, unseal, and enable KV. A single key share keeps a one-person lab simple. Use the defaults (5 shares, threshold 3) if more than one human holds keys.
docker compose up -ddocker compose exec openbao bao operator init -key-shares=1 -key-threshold=1# Save the Unseal Key and Initial Root Token somewhere that is not this server.
docker compose exec openbao bao operator unseal# Paste the unseal key when prompted.
docker compose exec -e BAO_TOKEN=<root-token> openbao \ bao secrets enable -path=secret kv-v2docker compose exec -e BAO_TOKEN=<root-token> openbao \ bao kv put -mount=secret app/db password=hunter2You unseal after every restart. That is the cost of shamir seals. If it annoys you, OpenBao supports auto-unseal through the transit seal, which uses a second OpenBao server as the key holder. Since 2.7.0 the cloud KMS seals (AWS, Azure, GCP and others) and PKCS#11 are no longer built in: you install them as external KMS plugins, and the docs cover that under the seal stanza.
The same shape works for Vault: swap the image for hashicorp/vault, the binary for vault, and the BAO_ variables for VAULT_ ones. The config stanzas are identical for this single-node case. That similarity is the argument for OpenBao, since a familiar config format is the cheapest thing to adopt.
Migrating From Vault To OpenBao
OpenBao ships an in-place migration guide, and its limits are narrow. Read them before you plan anything.
The guide was tested with:
- Vault 1.14.1 (the open source build)
- OpenBao 2.2.0
- Raft storage
- Shamir unseal, no auto-unseal
If your Vault is older than 1.14.1, upgrade to 1.14.1 first. If it is newer, the guide says it plainly: “Newer versions are untested and unsupported: OpenBao makes no guarantees about storage compatibility with Vault.” That covers every Vault 1.15 and later release, and it covers the whole 2.x line. Vault Enterprise was not tested either.
The in-place path, for a cluster that qualifies:
- Back up with a Raft snapshot.
- Install OpenBao on each node, configured but not started, and point it at a new storage path. The nodes pull data from the cluster on join, and a separate path makes rollback easier.
- Take inventory with
vault secrets listandvault auth list. Any mount whose plugin OpenBao lacks gets stubbed and serves nothing. - Replace followers one at a time: stop Vault, start OpenBao, run
bao operator raft join, runbao operator unseal, and wait until the node is a voter. - Make the leader step down with
vault operator step-down, then repeat step 4 on the old leader.
Two gotchas from the guide. Remove disable_mlock from your config. And expect new tokens to look different: OpenBao issues short [sbr].<random> tokens while Vault issues long hvs.-style ones. Old tokens still work until their TTL ends, but anything that parses the token format will break.
The guide also notes that Vault 2.0 and later enable an agent-registry/ mount by default, so a migration from a current Vault always yields at least one stubbed mount.
Which means: if you run Vault 1.15 or newer, do not swap the data directory. Stand up a fresh OpenBao and copy your secrets across through the API. For a flat KV v2 mount it looks like this:
#!/usr/bin/env bash# Copies top-level KV v2 keys from Vault to OpenBao. Flat keyspace only.set -euo pipefailexport VAULT_ADDR="https://vault.example.com:8200"export BAO_ADDR="https://bao.example.com:8200"# VAULT_TOKEN and BAO_TOKEN come from your environment.
# Entries ending in / are folders; skip them or kv get fails and set -e stops the loop.for key in $(vault kv list -mount=secret -format=json / | jq -r '.[] | select(endswith("/") | not)'); do vault kv get -mount=secret -format=json "$key" \ | jq '.data.data' \ | bao kv put -mount=secret "$key" -doneNested paths need a recursive walk, and this copies only the latest version of each secret. Policies, auth methods, and dynamic engines get rebuilt, ideally from Terraform or OpenTofu code.
The way back. OpenBao’s upgrade docs state that it makes no backward-compatibility guarantees for its data store, and that rolling back means restoring your data store as well. So keep the Vault snapshot, keep the old nodes’ data untouched, and treat the move as one-way once clients write to OpenBao.
Clients And Ecosystem
The CLI and HTTP API are compatible by design. OpenBao’s docs say existing clients “should not even register a difference”, though some may need a restart.
Tool by tool:
- Terraform and OpenTofu. The Vault provider still works against OpenBao for most tasks. An OpenBao RFC admits friction, though: OpenBao-only features such as workflows have no provider resources, and some fixes sit unmerged upstream. An open RFC proposes a dedicated soft-fork provider, which has not shipped yet. Expect to keep a workaround or two.
- External Secrets Operator. ESO has a dedicated OpenBao provider page in its docs, and the ESO + Vault on k3s walkthrough runs against OpenBao with the image swapped.
- Vault Secrets Operator, injector, and CSI. OpenBao’s docs include a
platform/k8ssection with VSO, injector, and CSI pages. - Agent. OpenBao ships
bao agentand abao proxycommand, and its docs say the agent version can lag the server.
I verified these against docs and RFCs, not against a running cluster. Test your own client stack against a throwaway OpenBao before you commit.
The SumGuy Take
Starting fresh on a home lab: pick OpenBao. You get an open license with no grant text to parse, namespaces for free, declarative self-init for rebuilding from scratch, and Docker images that behave like the Vault ones you already know. Secrets managers are a bet you hold for a decade, and the foundation-governed one lowers the odds that you rebuild it later.
Already running Vault Community for your own use: stay put unless something forces you. The BSL grant does not bite an internal deployment, and Vault 2.2.2 is current. Moving is a project with a hard one-way door, and the supported in-place path ends at 1.14.1. Spending a weekend to avoid a license clause that does not apply to you is like swapping a forklift for a bigger forklift. The couch is still in the same place.
Move when one of these is true:
- You sell or embed Vault in a paid product.
- You need namespaces or control groups and will not pay for Enterprise.
- Your legal team wants an OSI-approved license on every dependency.
Stay when you depend on Vault’s cloud secrets engines, run Vault Enterprise features today, or have not tested your clients against OpenBao.
Common Questions
Is OpenBao a drop-in replacement for Vault?
Only for a narrow case. OpenBao accepts the Vault CLI and API, but its in-place migration guide is tested only against Vault 1.14.1 with Raft and Shamir unseal. Newer Vault versions are unsupported for in-place swaps, and plugins OpenBao does not ship will not load.
Can I use OpenBao for free in production?
Yes. OpenBao is MPL-2.0, so you can run, modify, and sell services on it at no license cost. The only expense is your own operations time, and you give up Vault Enterprise support contracts.
Does the Vault BSL license stop me from self-hosting Vault?
No. HashiCorp’s grant allows production use, and it says hosting Vault for internal purposes within an organization is not a competitive offering. The restriction applies to products you offer to third parties on a paid basis whose capabilities overlap heavily with IBM’s paid Vault. Check the license FAQ for edge cases.
How do I roll back from OpenBao to Vault?
Restore your pre-migration Raft snapshot into Vault, on nodes whose data you kept untouched. OpenBao makes no backward-compatibility guarantees for its data store, so you cannot point Vault at a data directory that OpenBao has written to. Any secrets written after the move have to be copied back through the API. That is why you migrate to a new storage path and keep the old nodes until you are sure.
Which OpenBao Docker tag should I pin?
Pin an exact patch tag such as openbao/openbao:2.7.3 and read the release notes before bumping. The registry also publishes minor tags like 2.7, and a v2.6.x maintenance line gets patches. OpenBao does not promise that you can downgrade after an upgrade, so back up before every version change.