Migrating Vault on Kubernetes to the OpenBao Helm chart

A planned path for replacing a Vault Helm release with OpenBao on Kubernetes, covering snapshots, chart and image changes, injector and CSI replacements and token format changes.

On this page

Migrating Vault on Kubernetes to OpenBao: what the move involves

A platform team running Vault through a Helm release should expect the move to OpenBao to be an in-place swap of the server process plus chart, image and workload changes, not a fresh install with data copied across. The effort depends on three things: the Vault version you run, the storage backend behind it, and how many clients depend on the Agent Injector, the CSI provider and Vault's token format. The OpenBao migration guide was tested only against Vault 1.14.1 Community Edition, not Vault Enterprise or newer Community releases, so confirm your version against that test point before you plan the cutover. The OpenBao Helm chart documentation requires Helm 3.6 or newer and warns that the chart is under significant development, so run every install or upgrade with --dry-run first and review the rendered manifests.

Start with an inventory rather than the chart. Record the Vault version, the storage type, every auth method and secrets mount, and every workload that uses the Agent Injector or the CSI provider. Confirm whether any clusters were bootstrapped before Vault 1.3, since those may need a rekey before the move. Take a backup that the migration guide accepts, such as a Raft snapshot or an atomic filesystem snapshot, and test that you can restore it into a scratch namespace before touching the release. Note also that OpenBao stopped using mlock in 2.0.0, so disable_mlock must be removed from the server configuration in the values you render, or the server will not start cleanly under the new binary.

Plan for the parts most likely to break consumers. OpenBao issues tokens with a [sbr]. prefix instead of Vault's longer hvs, hvb and hvr forms. Old tokens remain valid until their TTL ends, but any script, sidecar or library that validates the prefix will fail on new tokens. Search your workloads and CI pipelines for hard-coded token patterns before cutover. For the Agent Injector and CSI provider, confirm the replacement images and annotations in the OpenBao chart documentation and test one non-production workload end to end. Ask your partner or internal team to put these checks into a written cutover plan with a rollback path, since the scope of that plan is what determines the work involved.

Which Vault Helm components map to OpenBao and which need replacing

This table compares each part of a Vault Helm release with its OpenBao counterpart and marks whether it carries over as a drop-in or needs rework. Read the migration note in each row before changing values files, because token prefixes, mlock settings and the rekey check can break clients or block startup even when the server swap itself is simple.

ComponentOpenBao equivalentDrop-in or reworkMigration note
Vault server StatefulSetOpenBao server StatefulSet from the OpenBao Helm chartReworkChart values and image references change. Run Helm with --dry-run first, since the docs note the chart is under significant development. Confirm storage and volume settings match your existing claims.
Vault Agent InjectorConfirm the current OpenBao Helm docs for an injector equivalentReworkDo not assume a drop-in injector. Annotations and sidecar templates written for Vault may need changes. Confirm the replacement in the OpenBao Helm docs before cutover.
Vault CSI providerConfirm the current OpenBao Helm docs for a CSI provider equivalentReworkDo not assume a drop-in CSI provider. Test SecretProviderClass objects and mount paths in a non-production namespace before replacing the Vault provider.
Auth mounts (Kubernetes, JWT, AppRole)Same auth method names in OpenBao, with configuration carried over from the Vault clusterDrop-inMigration is in-place on the server, and the guide keeps configuration and endpoints unchanged. Verify each mount after the swap, and check that Kubernetes auth still reaches the API server and token reviewer.
PoliciesOpenBao policies, applied from the restored dataDrop-inPolicy content is carried with the data. Review any policy that references Vault-specific paths or features, such as Enterprise-only capabilities, which the community migration path does not cover.
Storage backendIntegrated storage (Raft), PostgreSQL or the documented backends, chosen before migrationReworkTake a Raft snapshot or atomic filesystem snapshot first. Clusters on Consul storage need a separate step before the OpenBao swap. Confirm the storage path against the OpenBao storage docs.
TokensTokens issued as [sbr].<random>, replacing hvs, hvb and hvrReworkOld Vault tokens stay valid until their TTL ends. Consumers that parse or match the hvs, hvb or hvr prefix may fail, so search your applications and sidecars for those strings.
Server configurationRemove disable_mlock from the configurationReworkOpenBao stopped using mlock in 2.0.0. Leaving disable_mlock in the configuration is a required change, so remove it from the values file and any ConfigMap.
Unseal and rekey stateSame unseal keys if the cluster was bootstrapped on Vault 1.3 or laterDrop-inClusters bootstrapped before Vault 1.3 may need a rekey before moving to OpenBao. Check the bootstrap history and confirm this step against the OpenBao migration guide before any cutover.

Documented paths for the chart, data and snapshots

The migration guide and Helm chart documentation give a small set of supported tools for this move. Each card below covers one of them and the check that goes with it. Anything beyond these tools needs confirmation in the OpenBao docs before you rely on it.

Helm chart dry run

The OpenBao Helm chart is the documented way to run OpenBao on Kubernetes, and it requires Helm 3.6 or newer. The docs say the chart is under significant development, so run helm with --dry-run before any install or upgrade and review the rendered manifests. Compare the rendered StatefulSet, Service and injector resources against what the Vault release currently runs, and confirm the image tag and chart version you pin.

Helm chart docs

Raft or filesystem snapshot

The migration guide requires a backup before any change, either a Raft snapshot or an atomic filesystem snapshot of the storage. Take the snapshot while the cluster is healthy, store it outside the cluster, and test that you can read it back. For Kubernetes, confirm where the persistent volumes live and whether your storage class supports consistent volume snapshots.

Migration guide

In-place server replacement

The guide describes replacing the Vault server process on all nodes in place, with configuration, endpoints and URLs unchanged. In Kubernetes this means the StatefulSet image changes while pods keep their volumes and service names. Plan a rolling order that keeps the Raft quorum or the active node available, and roll back to the snapshot if a node fails to join.

Vault Helm values as source

Your existing Vault Helm values file is the working record of the current configuration, including the listener, storage stanza, seal settings and resource limits. Use it as the input when you write the OpenBao values, and diff the two files line by line. Remove disable_mlock from the server configuration, since OpenBao stopped using mlock in 2.0.0.

Confirm other import paths

The documented tools cover the chart, the snapshot and the in-place swap. Any importer, migration command or API path beyond these must be confirmed in the OpenBao docs for your target version before you use it. Ask your team to record the exact version of each document you relied on, and keep the answer in the change record.

How the Helm replacement runs with a parallel run and cutover

This sequence moves a Vault Helm release to OpenBao in stages, so each change is backed by a verified snapshot, a restore test and a pilot workload before the production cluster changes. It ends with the old release removed only after tokens issued by Vault have expired.

  1. Inventory the Vault release and its consumers

    The platform team records the Helm release name, chart version, values file, server image tag and storage configuration. They also list every secrets engine and auth mount, the policies attached to them, every Vault Agent Injector annotation on workloads, and each CSI SecretProviderClass object. This inventory is the checklist for every later step. It is done when someone outside the original build team can read it and find each consumer that depends on Vault.

  2. Take and verify a snapshot

    The operator takes a backup before any change, as OpenBao's migration guide requires. For integrated storage, this is a Raft snapshot. For other backends, use an atomic snapshot of the underlying volume or database. Store the copy outside the cluster, then restore it into a scratch location to confirm it is readable. The step is complete when the restore check succeeds and the snapshot location, checksum and owner are recorded in the change ticket.

  3. Stand up a test OpenBao release and restore into it

    In a non-production namespace, the team installs the OpenBao Helm chart with a values file derived from the Vault inventory. The docs advise running Helm with --dry-run before any install or upgrade, and the team should do so and review the rendered manifests. They then restore the snapshot into this release and confirm that secrets, auth mounts and policies appear. The step closes when a test client reads a known secret and the mount list matches the inventory.

  4. Run a parallel pilot with one workload

    One non-critical workload is pointed at the test OpenBao release, using the same auth method and policy that production uses. The team checks that the application starts, reads its secrets and renews leases without errors. Where a mount is missing or a plugin is unsupported after restore, the team records it as a blocker. The pilot is done when the workload runs through a full secret read and renewal cycle with no manual workarounds.

  5. Cut over the server image and chart per node

    The production release is upgraded to the OpenBao image and chart one node at a time, with the same dry run and review used in the test release. After each node restarts, the operator checks seal status, leader election and replication health before moving on. Vault and OpenBao tokens are both accepted until their TTL ends, so the cutover does not invalidate running workloads. The step is complete when every node reports healthy and the cluster has one active leader.

  6. Replace the injector and CSI consumers

    Workloads that used the Vault Agent Injector are updated to the matching OpenBao annotations and components, and CSI SecretProviderClass objects are updated to reference the OpenBao provider. These changes are rolled out namespace by namespace so each owner can confirm their application. Confirm the exact annotation names and provider configuration in the current OpenBao Helm documentation before editing manifests. The step closes when every inventoried consumer reads its secrets from OpenBao in a test or production rollout.

  7. Monitor token behavior during the overlap

    Tokens in the form [sbr] are issued by OpenBao, while older Vault tokens keep working until their TTL ends. Clients that check token prefixes, validate token length or call Vault-specific paths may fail even though the token is valid. The team watches authentication logs, application error rates and renewal failures for the length of the overlap, and it asks each application owner to confirm how they parse tokens. The step is done when no client fails on token format for the full observation period.

  8. Decommission the Vault release after the TTL window

    Once the longest Vault token TTL has passed and monitoring shows no remaining Vault-format tokens in use, the old Vault release is removed and its persistent volumes are retained according to the backup policy. The team confirms the TTL window with the security owner before deletion, since the value depends on the auth configuration. The final record includes the snapshot reference, the chart and image versions deployed and the monitoring results. The step is complete when the Vault release is gone and the change record is closed.

What clients will notice when tokens change format

The first thing a client may notice after cutover is the token itself. OpenBao issues tokens in the form [sbr].<random>, while Vault issues longer tokens that begin with hvs, hvb or hvr. Tokens issued by the Vault server before the swap keep working until their TTL ends, so the Vault prefix will remain in circulation for as long as those leases run. The change matters most for anything that inspects a token's text rather than sending it to the API. A consumer that checks for an hvs. prefix to decide whether a value is a Vault token, a sidecar that routes on that prefix, or a log scrubber that masks only Vault-shaped strings may start failing or leaking values once new tokens appear.

Before cutover, search every place where tokens are produced, stored or validated. In the cluster, check pods, init containers, Helm values, ConfigMaps and any admission policy or validating webhook that inspects Secret or environment content for the Vault prefix. Outside the cluster, check CI jobs, deployment scripts, runbooks, secret scanners, pre-commit hooks and monitoring rules that match token patterns. Vault Agent and OpenBao clients are generally not the concern here, but custom scripts usually are. Record every match, decide whether it should match on a generic pattern instead, and test the change in a non-production cluster with a freshly issued OpenBao token. Confirm the exact client behavior with the vendor documentation for each tool you run, since this page does not establish how every third-party client handles the new format.

What drives the effort and duration of the move

This table lists the factors that most change how much work the move takes and how long it runs, with the question to answer for each. Read each row against your own cluster before estimating, because one factor such as a pre-1.15 Vault version or a Consul backend can add a separate phase to the project. The main takeaway is that the inventory and test restore are the largest one-time costs, and chart and token monitoring keep recurring after cutover.

FactorWhy it changes the workWhat to confirm before quoting
Vault versionThe OpenBao migration guide was tested only against Vault 1.14.1 Community Edition. Vault 1.15 or later needs a separate risk decision and a test restore.Exact running Vault version and whether the guide's path applies, or whether the separate newer-version migration path is needed
Enterprise features in useNamespaces, HSM or seal wrapping, Sentinel, replication and similar features need replacements or a rebuild with data copy.Whether a Vault Enterprise license is applied and which Enterprise features the Helm values or policies depend on
Storage backendRaft clusters can follow the in-place binary replacement. Consul storage needs an offline move to integrated storage first, which adds a separate outage window.Storage type in the server configuration and whether a Raft snapshot can be taken and restored in a test environment
Agent Injector and CSI consumersEach workload that mounts secrets through the injector or CSI provider needs its image, annotations and provider references checked and sometimes changed.Count of injected deployments, CSI SecretProviderClass objects and any custom sidecars
Mounts and pluginsEach secrets or auth mount must be inventoried. Plugins not shipped with OpenBao can appear as stubbed paths after the swap.Full list from the mount table, including custom and third-party plugins
Kubernetes version and Helm customizationsChart values, custom templates and the Kubernetes version affect the chart upgrade path and what must be retested in each environment.Kubernetes minor version, Helm version (3.6 or newer), and the list of local chart overrides and post-renderers
Token consumersOpenBao issues tokens with a different prefix from Vault. Any client, script or pipeline that checks the token format needs review before cutover.Which applications, CI jobs and tooling parse or validate Vault tokens
Team test and rollback capacityA staging cluster, a restore drill and a tested rollback path are required before production cutover, and they set how many people the work needs.Staging environment availability, named owners for cutover and rollback, and the change window the business allows

Where Vault to OpenBao Helm moves usually go wrong

Most failed Vault to OpenBao Helm moves trace back to a few decisions made before the first upgrade: which version was tested, whether the backup was proven, and what the cluster and its clients assume. The cards below cover six risks that connect the snapshot, the chart change and the post-move cluster, with the prevention step for each.

Untested source version or Enterprise features

The OpenBao migration guide was tested only against Vault 1.14.1 Community Edition, not Vault Enterprise. If your Vault release is newer, or your cluster uses Enterprise features such as namespaces, HSM seals or performance standbys, the guide does not prove the swap will work. Before changing anything, record your exact Vault version and edition, list every Enterprise feature in use, and confirm with the OpenBao project or your own test cluster whether the in-place path applies. If it does not, plan a rebuild with a data copy instead.

Migration guide

Snapshot that was never restored

The migration guide requires a backup first, such as a Raft snapshot or an atomic filesystem snapshot. A snapshot file that has never been restored into a scratch cluster is only a hope. Before the upgrade, restore the snapshot into a separate namespace or cluster, confirm that the secrets engines, auth mounts and policies load, and log a test login with a non-root identity. Keep the restored environment until the migration is signed off.

Token prefix assumptions in clients

OpenBao issues tokens in the form [sbr].<random> instead of Vault's longer hvs, hvb and hvr tokens. Old tokens keep working until their TTL ends, so the problem appears later, when a new token is issued. Any admission webhook, log parser, secret scanner or CI pipeline that matches on the hvs. prefix may reject or misclassify the new tokens. Search your repositories, pipelines and monitoring rules for the old prefixes and update them before cutover.

Helm upgrade without a dry run

The OpenBao Helm chart is under significant development, and the docs advise running Helm with --dry-run before any install or upgrade. Skipping that step means discovering value renames, changed defaults or removed keys only after pods restart. Pin the chart version, diff the rendered manifests against the running release, and review the StatefulSet and service account changes. Run the dry run in a non-production cluster first, and record the chart version used so the rollback target is clear.

Minimum Helm version
Helm 3.6
OpenBao Helm docs

disable_mlock left in configuration

OpenBao stopped using mlock in version 2.0.0, so disable_mlock must be removed from the server configuration. Vault configurations that carried this key over unchanged can fail on startup or run with settings that no longer match the process. Because the setting lives in a ConfigMap or Helm values, it is easy to miss when the chart is rewritten. Search the rendered configuration for disable_mlock before rollout, and confirm the pods start cleanly and report the expected version.

Secrets unencrypted at rest in etcd

Kubernetes stores Secrets unencrypted in etcd by default. Moving OpenBao onto the cluster does not change this. If the Kubernetes Secrets that hold unseal material, Raft snapshot credentials or injected tokens sit unencrypted in etcd, the cluster becomes the weakest link in your secrets design. Confirm that encryption at rest is configured for the API server, that RBAC limits list and watch access to these Secrets, and that etcd backups are encrypted and access controlled. Review whether an external store through the Secrets Store CSI Driver fits your model.

Kubernetes Secrets practices

Questions teams ask before replacing Vault on Kubernetes

How much effort does replacing Vault on Kubernetes take, and what drives it?

The effort depends mostly on what the cluster holds and who depends on it, not on the Helm command itself. The main drivers are the storage backend (a Raft cluster on StatefulSets is simpler to snapshot and move than an external backend), the Vault version in use, the number of Agent Injector and CSI provider deployments, and the count of secrets engines and auth mounts that need inventory. A cluster on Consul storage needs an offline move to integrated Raft storage before the OpenBao swap. Each application that reads secrets adds testing time. Ask for a written scope that lists each of these drivers and the test steps it requires, because the quote follows from that scope.

Does the migration need a parallel run before cutover?

A full parallel run is not always necessary, but a rehearsal in a non-production cluster almost always is. The OpenBao migration guide describes replacing the Vault server process in place on all nodes, with configuration, endpoints and URLs unchanged, so it does not require a second live cluster by default. The guide was tested only against Vault 1.14.1 Community Edition. If your cluster runs a newer release, rehearse a restore from a snapshot in a separate cluster, confirm the mount inventory and keep a documented fallback. Teams that want more separation can build a fresh OpenBao cluster and copy secrets into it, at the cost of more consumer changes.

What must our team provide before a Kubernetes migration starts?

The team must provide access and a current backup before any change is made. Parallel items are:

  • Cluster access: kubectl and Helm permissions on the target namespaces, plus access to the Vault configuration and the storage backend
  • A verified backup: a Raft snapshot or an atomic filesystem snapshot, as the OpenBao migration guide requires, with a tested restore path
  • A consumer inventory: applications, Agent Injector annotations, CSI SecretProviderClass objects, scripts and CI jobs that call Vault, and any client that assumes Vault token formats
  • Configuration review: Vault server configuration, including removing disable_mlock, plus confirmation of whether the cluster was bootstrapped before Vault 1.3 and may need a rekey
  • Named owners and change windows for testing and sign-off
Can our platform team run this migration without outside help?

A platform team with Kubernetes, Helm and Vault operations experience can do the migration alone, provided it has time for testing and a clear rollback plan. The Helm chart requires Helm 3.6 or newer and is under significant development, so the docs advise running Helm with --dry-run before every install or upgrade. Teams often find that the hardest work is the consumer inventory and application testing, not the chart changes. An outside partner can take that work under a written, fixed scope, covering planning, implementation, documentation and handover. Decide early which tasks your team keeps, which it hands over and who signs off on the cutover.

What happens to existing Vault tokens and leases during the move?

Existing tokens keep working until their TTL ends, but new tokens use OpenBao's format, which is [sbr].<random> in place of Vault's hvs, hvb and hvr prefixes. Any consumer, scanner or parser that checks token prefixes can fail after the change, so search your code, pipelines and monitoring for those prefixes before cutover. Leases are a separate question. OpenBao supports leasing with automatic revocation, but you should confirm in the migration guide and in your rehearsal how renewals, revocations and expiring dynamic credentials behave across the swap. Test one dynamic secret end to end before declaring the move complete.

Does a Vault Enterprise license change the migration plan?

Yes. The OpenBao migration guide was tested only against Vault 1.14.1 Community Edition, so an Enterprise cluster has no tested in-place path in that guide. Enterprise features such as namespaces, performance replication, HSM support, seal wrapping and Sentinel policies depend on a license applied to the cluster, and each one must be inventoried and either replaced, confirmed in OpenBao or removed before cutover. Separately, HashiCorp's Vault LICENSE from version 1.15.0 onward is under the Business Source License, which your legal team should review against your intended use. Ask for a written assessment of Enterprise features in your environment.

How the parts fit during the cutover

The cutover starts with the running Vault Helm release and a verified snapshot written to a store outside the cluster. The snapshot restores into a test OpenBao release first, where the chart, the Agent Injector and the CSI provider are checked against a pilot namespace. Only after the pilot passes does the production OpenBao StatefulSet take over, with clients and consumers repointed. Check that every restore test succeeds and that old tokens still work until their TTL ends before the Vault release is decommissioned.

Cutover path from Vault snapshot through pilot to production and decommission.

Where this page stops and other migrations begin

This page covers one path only: moving a Vault Community Edition release that runs on Kubernetes through the Helm chart to OpenBao, with the Helm chart and container image replaced in place. If your source is anything else, stop here and read the sibling page that matches it before you run a single helm command. Vault Enterprise sources are the first case. The OpenBao migration guide was tested only against Vault 1.14.1 Community Edition, so Enterprise features such as namespaces, HSM seals and performance standbys are outside the tested path and need their own plan.

Three other conditions also send you elsewhere. If your Vault storage is Consul, the in-place swap described here does not apply, and you first need an offline move to integrated Raft storage. If your Vault version is 1.15 or later, the guide's tested path ends at 1.14.1, so you need a test restore, a mount inventory and a fallback, or a fresh cluster with copied secrets. If you run secrets engines or auth plugins that OpenBao does not ship or that come from its plugin repository, inventory them first, because unsupported mounts appear as stubbed paths after the swap. Moving storage backends on a running cluster is also a separate job with its own offline window.

Confirm your source version, storage backend, edition and mount list against the sibling pages before you schedule the change window. If any answer falls outside the Community Edition, Kubernetes and Raft or PostgreSQL combination this page describes, ask your OpenBao partner or internal owner to scope that migration separately rather than adapting these steps by hand.

How DeployOpen scopes and delivers the Helm migration

DeployOpen plans and delivers the move from a Vault Helm release to OpenBao inside your own Kubernetes clusters and storage. The work starts with a written scope that names the Vault version, storage backend, injector and CSI consumers, then moves through a rehearsed cutover with a tested snapshot and rollback path.

How we scope

  • Confirm the running Vault version, edition and storage backend before choosing an in-place or rebuild path.
  • Inventory Agent Injector annotations, CSI provider use and every client that parses Vault token formats.
  • Agree the written scope, deliverables and timeline in writing before work starts, with a quote following from that scope.

How we build

  • Write Helm values for the OpenBao chart and run each install or upgrade with --dry-run first.
  • Rehearse snapshot, restore and cutover in a non-production cluster that mirrors your storage and network layout.
  • Replace injector and CSI components, then test token handling and workload secret delivery against each consumer.

How we hand over

  • Deliver the values files, runbooks, rollback steps and the verified snapshot procedure in your own repositories.
  • Document the consumer changes, token format differences and any clients that needed updates or retesting.
  • Walk your platform and security teams through the cutover evidence so they can review it against their own controls.

How we support

  • Offer ongoing support, OpenBao upgrades and continuous testing as a retainer after the cutover is complete.
  • Track OpenBao release notes and Helm chart changes so future upgrades follow a documented, dry-run tested path.
  • Retest secret delivery and token consumers after each planned upgrade of OpenBao, the chart or Kubernetes.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.