OpenBao
MPL-2.0 secrets manager and community fork of HashiCorp Vault, an OpenSSF/Linux Foundation project, with KV and dynamic secrets, PKI, transit encryption, namespaces and Raft/PostgreSQL HA.
What it is
OpenBao is an open-source secrets manager that stores, generates and distributes sensitive data: API keys, database passwords, certificates and encryption keys. It began as a community fork of HashiCorp Vault after Vault's licence changed. It is now an OpenSSF sandbox project under the Linux Foundation, released under MPL-2.0. The bao CLI and HTTP API will feel familiar to anyone who has used Vault.
Platform engineers, DevOps teams and security architects use it to replace hard-coded credentials in applications, CI/CD pipelines and Kubernetes workloads with secrets that are managed centrally, audited and often short-lived. It suits organisations that want Vault-style capabilities under an open licence with community governance, from a single-node lab up to clustered, multi-tenant deployments.
Key features
- Versioned key/value secret storage, encrypted at rest and protected by seal/unseal (Shamir keys or auto-unseal)
- Dynamic secrets that create short-lived database and cloud credentials on demand and revoke them when their lease expires
- Transit engine for encryption as a service, and a PKI engine for issuing certificates, now with post-quantum ML-DSA signatures
- Many auth methods (tokens, AppRole, Kubernetes, JWT/OIDC and more), plus fine-grained ACL policies and audit devices
- Namespaces for multi-tenant isolation, available in the open-source edition
- Integrated Raft storage for high availability, PostgreSQL storage with read scaling, and declarative self-initialisation
- Sponsor-run DEB/RPM repository and signed release artifacts (checksums, GPG and cosign)
Install
macOS or Linux with Homebrew:
brew install openbao
RHEL, Rocky, Alma and Fedora (via EPEL on RHEL derivatives):
dnf install -y epel-release
dnf install -y openbao
Arch Linux and FreeBSD:
pacman -Sy openbao
pkg install openbao
Containers (Alpine-based, with openbao-ubi variants also published):
docker run --memory-swappiness=0 -p 8200:8200 ghcr.io/openbao/openbao server -dev
Kubernetes with Helm 3.6+:
helm repo add openbao https://openbao.github.io/openbao-helm
helm install openbao openbao/openbao
Debian/Ubuntu packages and Windows binaries (bao.exe) are on the downloads page and GitHub releases.
Getting started
Start an in-memory dev server in one terminal (never use dev mode for real secrets):
bao server -dev -dev-root-token-id="example-tutorial-token"
In a second terminal, point the CLI at it, log in with that token, and store and read a secret:
export BAO_ADDR=http://127.0.0.1:8200/
bao login
bao kv put -mount=secret demo-app password=-
bao kv get -mount=secret -field=password demo-app
password=- makes the CLI prompt for the value so it does not end up in your shell history. kv get without -field shows the version number and metadata, which helps you track changes over time.
Good to know
- Licence: MPL-2.0, free, with no paid edition. Commercial support is available from sponsor companies.
- Current release is v2.7.3 (19 Nov 2026). Version 2.7 removed the file storage backend and moved Kerberos, LDAP and RADIUS auth out of the core binary, so check the release notes before upgrading.
- Regular security advisories come out, as with any secrets store. Patch quickly, and also update the v2.6 line if you stay on it.
- Production needs TLS, Raft or PostgreSQL storage, a safe unseal-key process and audit logging. The default Helm chart uses standalone storage that is not meant for production.
- Disable swap for the container or host (
--memory-swappiness=0) so secrets are not paged to disk. - OpenBao keeps Vault's API style, so many existing clients and integrations work. Still, test your plugins, auth methods and tooling before you migrate from Vault.
Alternatives
- HashiCorp Vault: the original, with official enterprise support and HCP Vault, but under the Business Source Licence.
- Infisical: a developer-friendly secrets platform with a polished UI and SaaS option.
- Cloud-native managers (AWS Secrets Manager, Azure Key Vault, Google Secret Manager): simplest if you use only one cloud.
- CyberArk Conjur Open Source: an alternative for teams already in the CyberArk ecosystem.
