Moving Vault on Consul storage to OpenBao: what the move involves
If your Vault cluster stores its data in Consul, you cannot simply swap the Vault binaries for OpenBao and keep going. The short answer is that the storage backend must change to integrated Raft storage first, with the cluster offline, and only then do you replace the server binaries by following the OpenBao migration guide. The move is therefore two jobs in sequence: a storage migration inside Vault, then a server replacement. Plan and test them as separate changes with a verified backup taken between them.
The first job uses the vault operator migrate command, which HashiCorp documents for moving data from Consul to integrated Raft storage. It is an offline operation, and Vault will not start while a migration is in progress, so the outage window and the rollback path must be agreed before you begin. Your team should confirm the exact Vault version it will run the migration on, the Raft configuration for each node, and how clients and automation will behave while Vault is down. Decide also whether the Consul data is retained read-only as a fallback until the OpenBao cluster is verified.
The second job is where the risk sits. The OpenBao migration guide describes in-place replacement of the Vault server process on all nodes, with configuration, endpoints and URLs unchanged. That guide assumes Raft storage and Shamir unseal, and it was tested only against Vault 1.14.1 Community Edition, not Vault Enterprise. Before you start, confirm your exact Vault version and edition against the guide, check whether the cluster needs a rekey (clusters bootstrapped before Vault 1.3 may), and remove disable_mlock from the configuration because OpenBao stopped using mlock in 2.0.0. If your version or edition falls outside what was tested, plan a test restore in a separate environment before any production change.
What maps cleanly from Vault on Consul to OpenBao
This table compares the Vault features a Consul-backed cluster typically uses with their OpenBao equivalents and the migration note for each. Read the rows marked as untested or needing replacement as items to confirm before scheduling the cutover, and treat the rest as the expected path for a Community Edition cluster.
| Capability | Vault on Consul (source) | OpenBao (target) | Migration note |
|---|---|---|---|
| Storage backend | Consul, which HashiCorp lists as officially supported | Integrated storage (Raft), PostgreSQL, PebbleDB or in-memory; Consul is not a listed backend | Consul data must move to Raft with an offline vault operator migrate step before OpenBao is installed |
| Unseal method | Shamir key shares | Shamir key shares are documented for the tested path | Keep the same shares if the Shamir ceremony is unchanged; confirm the cluster is not on an auto-unseal seal |
| Key/value and dynamic secrets | KV, database and cloud secrets engines | Key/value, dynamic secrets for databases and Kubernetes, and encryption as a service | Expected to carry over in place; inventory each mount and confirm plugin availability |
| Auth methods | Token, userpass, AppRole, OIDC, LDAP, Kubernetes and others | AppRole, JWT/OIDC, Kerberos, Kubernetes, LDAP, RADIUS, TLS certificates, tokens and username and password | Confirm each enabled method appears in the OpenBao auth methods docs before cutover |
| Namespaces | Vault Enterprise feature that needs a license | Supported for multi-tenant isolation within one cluster | Community Edition clusters rarely use namespaces; if yours do, confirm their behavior on the tested path |
| HSM seals and PKCS#11 | Enterprise feature that needs a license | Covered on separate OpenBao unseal pages; not part of the tested migration path | Replace or confirm with the project before cutover; do not assume the seal carries over |
| Performance and disaster recovery replication | Enterprise features that need a license | Not described in the supplied OpenBao migration material | Treat as a replacement item; plan a separate design for any replica sites |
| Sentinel policy as code and control groups | Enterprise features that need a license | Not confirmed for OpenBao in the supplied material | Export policies to HCL-based ACL policies and confirm any Sentinel rules have no equivalent before cutover |
| Tested path | Vault 1.14.1 Community Edition | Migration guide tested only against Vault 1.14.1 Community Edition | Clusters on Enterprise or on a different Vault release need a separate plan and a test restore |
How the two-step migration runs with a parallel run and cutover
The sequence moves a Vault cluster off Consul storage onto integrated Raft storage, then replaces the Vault binaries with OpenBao, with a gate and a rollback point at each stage. The end state is an OpenBao cluster that has been validated, run alongside the original, and cut over before Consul is retired.
Inventory the cluster and run pre-flight checks
Record the Vault version, the Consul cluster version, every node, auth method, secrets engine mount, policy, namespace and plugin in use, and the full Vault configuration file on each node. Check whether the cluster was bootstrapped before Vault 1.3, since that may require a rekey before moving to OpenBao, and note any disable_mlock setting, which must be removed later. Confirm with the vendor and your own environment whether your Vault build is Community Edition, because the OpenBao migration guide was tested only against Vault 1.14.1 Community Edition. The gate is a signed inventory and a written decision on whether the in-place path applies at all. If it does not, stop here and choose a rebuild with data copy instead.
Take a verified Consul snapshot and Vault backup
Take a Consul snapshot and a Vault storage-level backup, store both off the cluster, and confirm they restore on a separate environment. Record the checksums and the time of capture. Freeze configuration changes to Vault and Consul for the duration of the work so the backup matches the state you will migrate. The gate is a successful test restore into an isolated environment, not just a completed backup job. This snapshot is your rollback point for every later step, so do not proceed until the restore has been verified.
Rehearse the migration on a copy of the cluster
Restore the backup into an isolated Vault and Consul environment, then run vault operator migrate from Consul to integrated Raft storage against that copy. Confirm that Vault starts on the Raft backend, that unsealing works with your existing Shamir keys, and that secrets, leases, auth methods and policies read back correctly. Time the offline window and record every error and workaround. The gate is a clean rehearsal with a documented runbook that the operators on the live change can follow without improvising.
Run the offline migration to integrated Raft storage
During the agreed change window, stop Vault on all nodes, then run vault operator migrate with the Consul source and Raft destination defined in the migration configuration. HashiCorp documents this as an offline operation, and Vault will not start while a migration is in progress, so the cluster stays down until the process completes. Bring up the Raft nodes, unseal them, and confirm the leader and peers are healthy. The output is a Vault cluster running on integrated storage with the Consul cluster still intact and untouched. Keep Consul running as a fallback until validation passes.
Validate Vault on Raft before changing binaries
Before any OpenBao binary is installed, confirm the Vault cluster on Raft behaves as before the move. Check secret reads and writes, dynamic credential issuance, lease renewal and revocation, auth logins for each method in use, audit device output, and client configurations that point at existing endpoints. Run the same checks your application owners use in production. The gate is a signed validation record approved by the service owners. If any check fails, roll back to Consul storage using the verified snapshot and the intact Consul cluster.
Replace the Vault binaries with OpenBao on all nodes
Follow the OpenBao migration guide to replace the Vault server process on every node in place, keeping configuration, endpoints and URLs unchanged. Remove disable_mlock from the configuration because OpenBao stopped using mlock in 2.0.0. Upgrade one standby node at a time, confirm it rejoins the Raft cluster, then move to the next, and finish with the active node. The output is an OpenBao cluster on Raft storage with every node reporting healthy. Record the exact OpenBao version installed, since the guide's testing covers only the Vault 1.14.1 path.
Run OpenBao in parallel and keep a fallback
Keep the Consul cluster and the verified snapshot available while OpenBao serves real traffic for an agreed observation period. Route a limited set of non-critical consumers first, watching audit logs, error rates, lease counts and authentication failures. Define in advance the conditions that trigger a fallback, and rehearse the fallback path so the team knows how to restore Consul-backed Vault if needed. The gate is a documented go decision from the service owners and the security team after the observation period ends.
Cut over and decommission Consul
After the parallel run passes, move the remaining consumers to the OpenBao endpoints, confirm no traffic still reaches the old Vault-on-Consul path, and archive the final Consul snapshot under your retention policy. Remove Consul-specific configuration from the cluster, then stop and decommission the Consul servers only after you have confirmed that no other system depends on them. The output is a single OpenBao cluster on integrated storage, with a documented record of each gate, the signed validation results, and the retention location of the final backups.
Documented tools for the storage move and binary replacement
The first step moves Vault's data from Consul to integrated Raft storage. HashiCorp documents vault operator migrate for this purpose. The command copies the encrypted storage entries from the source backend to the target, and it runs offline: the Vault cluster must be stopped while the copy happens, and Vault will not start while a migration is in progress. The command changes the storage backend only. It does not replace the Vault binaries, and it does not change the unseal material or the cluster's identity, so the cluster you migrate remains a Vault cluster.
- Offline window: Plan a maintenance window that covers the stop, the copy and the restart, and rehearse it on a copy of the data first.
- Storage configuration: Update the
storagestanza to the Raft target and keep the Consul source definition available until the migration is verified. - Raft membership: Bring the Raft peers up only after the migrated data is confirmed on the first node, then join the remaining nodes.
- Backups: Take a snapshot and a copy of the Consul data before the run, since the source is not modified but a failed run still needs a rollback point.
- Scope limit: Confirm that your edition and version are covered by the HashiCorp documentation you are following, because the command is not a substitute for an OpenBao-specific procedure.
Before you start, confirm the exact vault operator migrate flags and version support against the HashiCorp documentation for the Vault version you run.
The OpenBao migration guide describes replacing the Vault server process with the OpenBao process on every node, while leaving configuration, endpoints and URLs unchanged. It assumes the cluster already uses integrated Raft storage and Shamir unseal, which is why the Consul-to-Raft step comes first. The guide was tested only against Vault 1.14.1 Community Edition. It does not cover Vault Enterprise, and it does not cover Vault versions released after 1.14.1 without additional verification on your side.
- Tested version: Treat Vault 1.14.1 Community Edition as the only tested source and verify any other version in a restored test cluster.
- Rekey check: Clusters bootstrapped before Vault 1.3 may need a rekey before the move, so confirm your bootstrap history.
- Configuration edits: Remove
disable_mlockfrom the configuration, because OpenBao stopped using mlock in 2.0.0. - Node order: Plan the rolling replacement across all nodes, since the guide covers the process swap on each node rather than a mixed-version cluster.
- Unsupported parts: The guide does not inventory plugin mounts or Enterprise features, so those checks belong in your pre-cutover plan.
Before cutover, confirm the Vault version, the edition and the presence of any Enterprise features, because those determine whether the guide applies to your cluster as written.
The OpenBao storage configuration documents list the backends the project describes: integrated storage (Raft), PostgreSQL, PebbleDB and in-memory. Integrated storage is the target for this path because the in-place guide assumes it. The storage reference is where you confirm the configuration keys, the Raft retry_join and cluster address settings, and the data directory layout that the new binaries will read. It also describes the PostgreSQL backend, which the project documents as easier to operate safely than Raft, but that backend requires a different migration from the one this path uses.
- Raft settings: Confirm the node ID, cluster address and join configuration against the reference before the first start.
- Data directory: Set the Raft path to the location the migration writes to, and keep it on storage with the durability you need.
- Non-Raft targets: PostgreSQL and PebbleDB require their own migration steps, so do not use this path to reach them.
- Consul status: The documents do not describe Consul as an OpenBao backend, so keep Consul out of the target configuration.
- Configuration review: Compare your full configuration file with the reference, because removed or renamed keys can stop a node from starting.
Before you start, check the target configuration on a test node and confirm the backend and key names against the version of OpenBao you plan to run.
None of the three documents covers the whole move. Together they do not address Vault Enterprise data, licensed features, the mount inventory or the license terms that apply to the Vault binaries you are replacing. The Vault LICENSE names IBM as licensor for Vault 1.15.0 or later and bars competitive hosted or embedded offerings, so the legal review belongs in the plan alongside the technical steps. The tools also do not test your applications, your auth methods or your audit devices after the swap.
- Enterprise data: Enterprise features such as namespaces, HSM seals and performance replication need a separate path, because the guide was not tested against them.
- Version range: Vault releases after 1.14.1 are outside the tested range, so a test restore is the check that closes this gap.
- Plugin mounts: Unsupported secrets or auth mounts can appear as stubbed paths after the swap, so inventory them before cutover.
- Audit and monitoring: Confirm that audit devices, metrics and alerts still work after the process change.
- Fallback: Keep a tested rollback that restores the Consul snapshot and the original binaries.
Before you commit to this path, confirm your edition, version and feature list, then decide whether the in-place route or a fresh cluster with data copy fits your constraints.
How the storage and binary steps connect
The path starts with a Vault cluster on Consul storage and runs pre-flight checks: a rekey if the cluster was bootstrapped before Vault 1.3, and removal of disable_mlock from configuration. Next, vault operator migrate moves data to integrated Raft storage during an offline window, since Vault will not start while a migration is in progress. Validate the Raft cluster before replacing binaries on all nodes with OpenBao. If validation fails, the fallback branch restores the Consul backup and returns to the original Vault setup.
Decision path from Consul-backed Vault to OpenBao, with a fallback to the Consul backup.
What drives the effort and duration of this migration
This table lists the factors that change how much work a Vault on Consul to OpenBao move takes, whether each cost is one-time or recurring, and what to request in a written scope. Read it as a checklist: the rows with the widest variation are the ones to size first. Most of the effort sits in inventory, the Raft migration and testing, so ask for those phases to be priced separately.
| Driver | Why it changes effort | One-time or recurring |
|---|---|---|
| Cluster size and node count | Each node needs its own Consul-to-Raft move, unseal checks and binary replacement, so more nodes means more coordinated steps in the offline window. | One-time |
| Secrets engines and auth mounts | Every mount must be listed, its plugin checked against what OpenBao ships, and its paths tested after the swap. Large mount counts add inventory and verification work. | One-time |
| Enterprise features in use | Namespaces, HSM seals, performance replication and other Enterprise features have no direct OpenBao path in the tested guide, so each one needs a replacement design or a rebuild decision. | One-time |
| Vault version and rekey need | The migration guide was tested only against Vault 1.14.1 Community Edition. Newer source versions or clusters bootstrapped before Vault 1.3 may need a separate risk decision or a rekey. | One-time |
| Length of the offline window | Vault will not start while the operator migrate step runs, so data volume and Consul size set how long services are unavailable. Confirm the window with a test restore on a copy of production data. | One-time, repeated on each rehearsal |
| Client and automation changes | Applications, CI pipelines, Kubernetes integrations and scripts that point at Vault endpoints or use token formats must be found and checked before cutover. | One-time |
| Testing depth | A basic smoke test is far less work than a full test of auth flows, dynamic credential issuance, leases and backup restore. Agree the test matrix in the written scope. | One-time |
| Raft operations after cutover | Consul is no longer the storage layer, so snapshot schedules, peer management, upgrade order and Raft health monitoring become the team's ongoing duty. | Recurring |
| OpenBao upgrades and patching | Each future OpenBao release needs a review of its changes, a test run and a controlled rollout across nodes. Ask whether a retainer covers this. | Recurring |
What usually goes wrong with Consul to OpenBao moves
Consul-backed clusters have several moving parts: the storage move, the binary swap, unseal material and the clients around them. Each of the risks below can stall a cutover or leave a cluster in a state that is hard to reverse, so each one needs a check before the window opens.
Migration run without a tested backup
The offline vault operator migrate step rewrites the storage backend, and an interrupted or misconfigured run can leave the cluster unable to start. Before any run against production, restore a recent snapshot into a separate environment and confirm the Raft data directory and the unseal keys work there. Keep the Consul snapshot and the pre-migration configuration files until the new cluster has passed its checks.
Vault version outside 1.14.1
OpenBao's migration guide was tested only against Vault 1.14.1 Community Edition. If your cluster runs a later Vault release, the documented steps may not match your behavior, so treat the swap as untested. Confirm your exact running version before planning, and either run a full rehearsal on that version or plan a fresh OpenBao cluster with secrets copied in.
OpenBao migration guideForgotten disable_mlock setting
OpenBao stopped using mlock in version 2.0.0, so a disable_mlock key left in the server configuration after the binary swap is a common source of startup problems. Search every configuration file on every node, including those managed by configuration management or Kubernetes manifests, and remove the key before restarting. Record the diff so reviewers can confirm the change was intentional.
Lost unseal material during rekey
Clusters bootstrapped before Vault 1.3 may need a rekey before the move, and a rekey generates new unseal shares. If the new shares are not recorded securely, or the threshold is set without the custodians available, the cluster can be sealed with no way back in. Store each share with its named custodian, test the threshold with a dry unseal on a non-production copy, and keep the old shares until the new ones are proven.
Clients using old tokens or endpoints
Applications, agents and automation may hold Vault tokens, hostnames or client libraries that assume the old setup. The migration guide keeps configuration, endpoints and URLs unchanged, but any hardcoded change, load balancer rule or certificate mismatch will break callers. Inventory every consumer, confirm which auth methods they use, and run a read and write test against each one after cutover.
Enterprise features silently missing
If the source cluster uses Vault Enterprise features such as namespaces, performance replication, HSM seals or Sentinel policies, those features are not part of a Community Edition migration path. Community Edition binaries will not carry the Enterprise license or behavior, so workloads relying on them may fail or lose protection without an obvious error. List every Enterprise feature in use from the current license and configuration, and confirm an OpenBao replacement for each before scheduling the swap.
Questions teams ask before moving Vault on Consul to OpenBao
What drives the cost of moving Vault on Consul storage to OpenBao?
The cost depends mostly on how many clusters you run, how many Vault mounts and policies they hold, and how much of the work your own team already has capacity for. The two-step path has a storage migration (Consul to integrated Raft storage, done offline with vault operator migrate) and a binary replacement that follows the OpenBao migration guide. Each step has preparation, rehearsal, the cutover itself and post-cutover checks. One-time costs cover planning, test runs and the cutover window. Recurring costs appear only if you later add support or retainers. Ask any partner for a quote built from a written scope that lists clusters, environments, rehearsals and the evidence you will receive. DeployOpen does not publish prices, and a quote follows from that scope.
How long does the offline window need to be?
The window is set by the storage migration, which HashiCorp documents as an offline operation: Vault will not start while a migration is in progress. The duration depends on the amount of data in Consul, the network path between your hosts, and the number of nodes you cut over. No duration figure is supplied for this work, so measure it in a rehearsal on a copy of production data before you commit to a change window. Ask your team to time each stage, including the snapshot and the post-start checks, and confirm the result against your own recovery objectives.
What does the work need from our internal team?
Expect to supply people who know your Vault policies, auth methods, secrets engines and the applications that read from Vault, along with someone who can approve change windows and access to the Consul and Vault hosts. Your team should also own the decisions that depend on your environment, such as seal type, TLS settings and which clients must be notified of endpoint or token changes. Plan for a named owner on your side for each cluster during rehearsal and cutover, because most delays come from waiting on approvals or missing configuration details rather than from the technical steps.
Can our own team do this in-house?
Yes, if your engineers have operated Vault in production, can run a restore test, and have a documented rollback. The OpenBao guide describes in-place replacement of the Vault server process on all nodes with configuration and URLs unchanged, which is a manageable procedure for a team with the right skills. The risk lies in the details: old configuration keys such as disable_mlock, clusters bootstrapped before Vault 1.3 that may need a rekey, and the untested storage path. A partner can take on the rehearsals, documentation and evidence, while your team keeps ownership of the production change. Decide this based on skills and capacity, and write the split of responsibilities into the scope.
Does moving to Vault 2.x or Vault Enterprise change the path?
Yes. The OpenBao migration guide was tested only against Vault 1.14.1 Community Edition, so a source on another version or on Vault Enterprise needs its own risk decision before you follow the same steps. HashiCorp lists Vault 2.2.0 as the current release, but the guide does not cover it. Vault Enterprise features such as namespaces, HSM seals and performance replication need replacements or a rebuild, and they need a license applied to the cluster. Confirm your exact Vault version and edition first, then decide whether an in-place swap, a test restore or a fresh OpenBao cluster with data copied from Vault is the safer route.
What does a quote for this work need to include?
A useful quote states the exact source version and edition, the number of clusters and environments, the storage backend and seal type, and the list of mounts and applications that depend on Vault. It should name the rehearsal count, the cutover plan, the rollback steps, the evidence delivered (such as the restore test results and a configuration diff) and what the client must provide. Ask whether post-cutover support or a retainer is included, and whether any licensing or hosting costs sit outside the scope. Because DeployOpen works to a written scope agreed before work starts, the quote follows from those inputs.
What DeployOpen needs from your team before the work starts
Before any node is touched, the most useful input is the exact Vault and Consul versions running today, because the path depends on them. The OpenBao migration guide was tested only against Vault 1.14.1 Community Edition, so the team needs to state whether it runs Community Edition or Vault Enterprise, and which Vault minor version it is on. If it runs a Vault release newer than 1.14, the separate guidance on newer Vault versions applies and the plan changes. Also send the Consul version, the Consul ACL setup, and whether Consul is used for anything besides Vault storage, since that affects what can be shut down during the offline window. Confirm each value against the running nodes with vault version and consul version, not against the install record.
Next, provide the cluster topology and the mount inventory. Name each Vault node, its role, its address, and the Consul agent it talks to, plus the load balancer or DNS name that clients use. Export the list of secrets engines, auth methods and audit devices with vault secrets list, vault auth list and vault audit list, and mark any third-party or custom plugin. Plugin mounts are the most common surprise at cutover, so the inventory should also record each mount's configuration file references, including disable_mlock and listener settings that the migration guide requires you to change. Ask whether any Vault node was bootstrapped before Vault 1.3, because that may require a rekey before the move.
The third input is the operational arrangement: who holds the unseal keys or recovery keys, how many are needed to unseal, where the keys are stored, and how an unseal is performed during a change window. The vault operator migrate step is offline and Vault will not start while a migration is in progress, so the team must confirm a current snapshot, a tested restore path, the change windows it can use, and the people with root-level access to each node. DeployOpen will need administrative access to the Vault and Consul hosts, a named contact for approvals, and a written rollback decision, and each of these should be agreed in writing before the work starts.
How DeployOpen scopes and delivers Vault to OpenBao migrations
DeployOpen plans, implements, tests, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For a Vault cluster on Consul storage, that means a written scope that covers both steps, the offline move to integrated Raft storage and the in-place binary replacement that follows the OpenBao migration guide.
How we scope
- Inventory the current Vault version, edition, storage path, seal type and every enabled secrets and auth mount before quoting.
- Confirm the Vault version against the 1.14.1 Community Edition path the OpenBao guide was tested on, or agree a different plan.
- Record the offline window, rollback point and who approves the cutover in the written scope before work starts.
How we build
- Run the Consul to integrated Raft migration in a staging copy first, then verify the cluster starts and unseals with the expected keys.
- Check the configuration for removed settings such as disable_mlock and confirm whether a rekey is needed for clusters bootstrapped before Vault 1.3.
- Replace the Vault binaries on each node in the order the OpenBao guide describes, then test client paths, endpoints and audit logging.
How we hand over
- Deliver a runbook with the migration steps, verification checks, rollback procedure and the exact commands used in your environment.
- Document the storage backend, seal and key custody decisions so your security and compliance teams can review them.
- Walk your operators through backup, restore and health checks on the new cluster before the engagement closes.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Ask any partner, including DeployOpen, to confirm current OpenBao release notes and supported versions before each change window.

