migración

Migrar de HashiCorp Vault a OpenBao

Licencia y condiciones

HashiCorp Vault
Other, Código disponible
OpenBao
MPL-2.0, Código abierto
Nivel de sustitución
Sustitución directa Fork of Vault 1.14 under MPL-2.0, same API.

Esta página está escrita en inglés.

Compatibility

OpenBao’s guide describes an in-place swap: the OpenBao server replaces the Vault process on every node, and endpoints and URLs stay the same. The API aims to be compatible enough that existing clients do not notice, although some may need a restart. The server configuration is largely compatible.

Before you switch

The guide was tested with Vault Community Edition 1.14.1 on Raft storage with Shamir unseal, moving to OpenBao 2.2.0.

  1. Take a backup: a Raft snapshot, or an atomic filesystem snapshot.
  2. List what you have mounted with vault secrets list and vault auth list.
  3. Install and configure OpenBao on each node without starting it. A separate storage path is recommended, since nodes pull their data from the cluster when they join, and it makes a rollback easier.
  4. Remove disable_mlock from the configuration: OpenBao has not used mlock since 2.0.0.
  5. Replace the followers one at a time. Stop Vault, start OpenBao, join the node with bao operator raft join, unseal it, and wait until it is a voter.
  6. Make the leader step down, check that a new leader was elected, then replace the former leader the same way.

Pitfalls

Guía oficial

Guía de migración de OpenBao ↗

Revisada el 2026-09-24.

Fuentes

Otras alternativas a HashiCorp Vault →