OpenBao 2.5 upgrade: unauthenticated rekey and standby reads

OpenBao 2.5.0 turns off unauthenticated rekey endpoints by default and removes jsonx audit output. This page plans the upgrade path, the breaking changes to check and the rollback points.

On this page

Planning an OpenBao 2.5 upgrade before the rekey default bites

If your OpenBao cluster predates 2.5.0, released on February 4, 2026, plan the upgrade around two changes that can fail automation without an obvious error: unauthenticated rekey endpoints are now disabled by default, and the audit jsonx format has been removed. Scripts, runbooks and log pipelines that depend on either behavior need review before the first node is touched. The rest of this page covers the specifics; this section sets the order of work.

The supported path is in-place replacement of the server binary, one node at a time, with the data store backed up first. Start by taking a verified backup and recording the current configuration. Then review every listener stanza, because disable_unauthed_rekey_endpoints now defaults to true and any listener that still relies on unauthenticated rekey must set it to false explicitly. Search your audit device definitions for jsonx as well. Upgrade the standbys before the active node, so the active node is the last one to change. Confirm each step against the OpenBao 2.5.x release notes and the project's rolling upgrade guidance, and treat those documents as the source of truth for your exact version path.

DeployOpen plans and runs this work inside your own infrastructure, including the backup, configuration review, staged node upgrades and post-upgrade checks. Before work starts, confirm with your team which automation calls rekey or read audit output, who owns the change window, and where the backups will be stored and tested. Those answers decide the scope and the written plan that DeployOpen would agree with you before work starts.

Which 2.5 changes affect your cluster and what to do

This table lists the five OpenBao 2.5 changes most likely to break existing clusters, with the impact of each and the check to run before and after the upgrade. Read each row against your current listener, audit, database plugin and automation configuration. Rows marked with the 2.5.4 release apply only if you run that patch level or later.

ChangeImpactAction
disable_unauthed_rekey_endpoints defaults to trueUnauthenticated rekey endpoints are disabled on listeners that do not set the key explicitly, so rekey calls that worked before may fail.Check each listener block in your configuration. Set the key to false only where unauthenticated rekey is genuinely required, and confirm whether any rekey tooling depends on it.
Automatic read support on Raft standbysExisting HA standby nodes are upgraded automatically to serve read-only requests, which changes where read traffic lands.Confirm load balancer and client routing for read requests, and verify that standby nodes are healthy and upgraded after the rolling procedure.
jsonx removed as an audit output formatAny audit device configured with jsonx will no longer work after the upgrade, which can block requests if the device is required.Search audit device configuration for jsonx and switch to a supported format before upgrading. Confirm downstream log parsers accept the new format.
Deprecated database plugin statement fields removedCustom database plugins that still use the removed creation, revocation, rollback and renew statement fields will fail to issue or revoke dynamic credentials.Review any custom database plugin and its role statements. Test credential issuance, renewal and revocation against a non-production cluster before upgrading.
Legacy lease endpoints removed in 2.5.4 (CVE-2026-45808)sys/revoke, sys/renew, sys/revoke-prefix and sys/revoke-force no longer exist, so scripts and jobs that call them will error.Search scripts, CI jobs and runbooks for these paths and move them to the current lease endpoints. Confirm the current replacements in the release notes before changing automation.

How the rekey default change affects different teams

Teams that run unseal or rekey from scripts, configuration management or CI jobs are most exposed. OpenBao 2.5.0 made disable_unauthed_rekey_endpoints default to true, so any listener that does not set it to false explicitly stops serving unauthenticated rekey endpoints after the upgrade. A job that worked before cutover can fail at the rekey step, often late in a maintenance window, because nothing else in the cluster looks broken.

  • Find the callers: search repositories, runbooks, pipeline definitions and cron hosts for calls to rekey endpoints and for the -init and -update style rekey workflows your team uses.
  • Decide the listener setting: if you must keep the unauthenticated path for now, set disable_unauthed_rekey_endpoints = false on each listener deliberately and record why.
  • Move to authenticated rekey: where practical, switch the automation to a token with the rekey capability and confirm the token policy and its lifetime.
  • Test on a non-production cluster: run the exact automation against a copy of the upgraded configuration, including the failure path.
  • Confirm the unseal key holders: check that the procedure still matches who holds key shares and how they are supplied.

Before cutover, run the rekey job in staging with the production listener configuration and confirm it completes without manual intervention.

What to back up and inventory before touching the cluster

Every item here is something you can restore, compare or roll back to if the 2.5.0 changes surprise you. Backups protect the data store, inventories show what the new defaults will affect, and a test environment shows the failure before production does. Work through them in order, and do not start the rolling upgrade until each one is verified.

Back up the data store

Take a snapshot of integrated storage (Raft) or your PostgreSQL database before the first node is replaced. Restoring that data store is the only documented way back to an earlier version, so a snapshot you have never restored is not a rollback plan. Test a restore into a scratch cluster and confirm that unseal and a sample login work before you rely on it.

OpenBao HA docs

Keep configuration files under version control

Copy every server configuration file from every node, including listener stanzas, seal settings and storage paths, into a versioned repository. Remove nothing yet. Some 2.x releases change configuration behavior, so the exact pre-upgrade file is the reference you compare against when a node fails to start.

Inventory listeners and the rekey setting

List each listener and record whether it currently relies on unauthenticated rekey endpoints. Since 2.5.0, disable_unauthed_rekey_endpoints defaults to true, so any automation that rekeys without a token will fail after the upgrade unless you set it to false explicitly. Find these callers now, including scripts, runbooks and monitoring jobs.

Export the audit device settings

Record every enabled audit device, its type and its options. OpenBao 2.5.0 removed jsonx as an audit output format, so any device configured with it must move to a supported format before the upgrade. Confirm where audit logs are shipped and that the downstream parser still reads the format you will use.

Inventory plugins and database connections

List every secrets engine, auth method and database connection with its plugin name and version. Database plugins that still send the removed creation, revocation, rollback or renew statement fields will break, so check each connection's role statements against the 2.5.0 release notes. Keep this list with the plugin configuration so you can reload mounts after the upgrade.

2.5 release notes

Build a mirror test environment

Stand up a non-production cluster with the same listener layout, HA node count, storage backend and seal type as production, then restore a recent data store snapshot into it. Run the upgrade there first and time each step. Ask your team to confirm that the test environment matches production in these details, since a single-node test will not reveal standby behavior changes.

Upgrade sequence with checks and rollback points

This sequence moves an OpenBao cluster to 2.5 in an order that keeps the rekey and audit settings explicit, uses standbys to prove the new version before the active node changes, and leaves a restore point at every stage. Each step ends with a check you can record before moving on.

  1. Back up and record cluster state

    Before changing anything, take a snapshot of the data store and store it outside the cluster. Record the current OpenBao version on every node, the output of the status command for each node, the list of enabled audit devices, the list of database secrets engine connections, and a copy of each server configuration file. The step is complete when you have confirmed that a snapshot restores into a test environment or that your team has verified it can restore one. This snapshot is your rollback point for everything that follows, since a downgrade across the data store format generally means restoring from backup rather than reversing binaries.

  2. Set disable_unauthed_rekey_endpoints explicitly

    Search every listener block for disable_unauthed_rekey_endpoints. In OpenBao 2.5.0 this setting defaults to true, which disables unauthenticated rekey endpoints. If any automation, script or runbook still calls those endpoints without a token, add the setting with the value false to that listener before the upgrade and plan to replace the workflow with an authenticated one. If nothing depends on them, set it to true explicitly so the intent is recorded. The check is a configuration review on each node showing the setting present on every listener, and a test that unauthenticated rekey calls behave as you expect after the restart.

  3. Remove jsonx audit devices

    OpenBao 2.5.0 removed jsonx as an audit output format. Find each audit device configured with jsonx, and before the upgrade, enable a replacement device that uses a supported format and confirm that events are arriving in your log pipeline. Then disable the jsonx device. Keep the audit devices in place until the new ones have logged successfully, so that no request goes unaudited. The check is a log review showing recent events from the replacement device and a list of audit devices that contains no jsonx entries. Confirm the new format with your SIEM or log team, since parsers built for the old output will need updating.

  4. Update database plugin statement fields

    OpenBao 2.5.0 removed the deprecated creation, revocation, rollback and renew statement fields from the database plugin protocol. Inventory every database role and connection that uses the old field names, and rewrite them with the current statement fields in a staging environment first. Issue a test credential from each role, confirm it authenticates, and confirm that revocation works. Apply the same change in production only after staging passes. The check is a successful credential issue, use and revocation cycle per role, documented in your change record.

  5. Upgrade standby nodes first

    Upgrade the standby nodes one at a time, following the documented HA ordering in the rolling upgrade guide. After each standby restarts, confirm that it unseals, rejoins the cluster and reports healthy status before touching the next node. Because OpenBao 2.5.0 automatically upgrades existing HA standbys with read support, check that the upgraded standby reports the expected version and health. The check is a healthy status line for each upgraded standby and no unexpected errors in its logs during rejoin.

  6. Step down the active node

    With the upgraded standbys healthy, step down the active node so that an upgraded standby takes leadership. Follow the procedure in the rolling upgrade guide for your storage backend. Confirm that a new active node is elected, that client traffic resumes, and that the stepped-down node now reports as a standby. If leadership moves to a node that is not yet upgraded, stop and review before continuing, because mixed-version leadership is a state you want to avoid. The check is a single active node running the new version, with application requests succeeding through the load balancer or address you use.

  7. Verify reads on upgraded standbys

    Confirm the read behavior that OpenBao 2.5.0 introduced. Send read-only requests, such as reading a known secret or a token lookup, to the upgraded standby addresses and confirm that they return the expected data while the active node handles writes. Compare responses with the active node for a sample of paths. Check that your load balancer or client configuration does not route writes to standbys. The check is matching read results and a recorded test showing that a write attempted on a standby is forwarded or redirected rather than applied locally. Confirm the expected read routing with your platform team before relying on it for traffic.

  8. Upgrade the remaining node and confirm the cluster

    Upgrade the last node that is still on the previous version, which should now be a standby. Restart it, confirm it unseals and rejoins, and then run the full set of checks: cluster membership, active node health, audit device output, a test credential from each database role, and an application login that reads a secret. Record the final versions on every node in your change record and keep the pre-upgrade snapshot until your team agrees the cluster is stable. The step is complete when every node reports the same expected version and every check passes.

What automatic standby reads change for load and access

OpenBao 2.5.0 added horizontal read scalability for Raft clusters and upgrades existing HA standby nodes so they serve read-only operations automatically. The practical change is that a request which previously could only succeed on the active node may now land on a standby. Before the upgrade completes, confirm which listener and address your clients reach, because the traffic pattern across nodes will shift once standbys start answering reads. Treat this as a routing change to test, not a configuration change you can ignore.

Start with the load balancer. If it health-checks only the active node, or uses a rule that sends every request to one address, you will not see any read distribution, and you may still be funneling reads through the leader. If it distributes traffic across all nodes, check that each node's health endpoint reports correctly during and after the upgrade, and that a standby that is mid-upgrade is taken out of rotation. Write down which path each client group uses, including automation, CI jobs and agents that cache tokens or leases.

Next, review client behavior and application assumptions. Some clients expect that a write followed immediately by a read returns the new value. Replication to standbys is not instantaneous, so a read on a standby can briefly return older data after a write. Identify workflows that write a secret or policy and then read it back in the same flow, such as provisioning jobs or rotation scripts, and decide whether they need to read from the active node. Confirm the exact replication behavior with the OpenBao HA documentation and test it in your environment. The PostgreSQL standby read capability arrived in 2.7.0 and is outside this upgrade's scope.

What makes an OpenBao 2.5 upgrade take longer

This table lists the factors that expand the work of moving to OpenBao 2.5, along with how each one changes the effort. Use it to size your own upgrade before asking a partner or your team for a plan. The main takeaway is that the number of nodes, the audit devices, and any automation that calls removed endpoints or fields matter more than the version number itself.

FactorWhy it changes the effortWhat to check first
Number of nodes and HA backendMore nodes mean more sequential steps, more verification, and longer rollback windows, especially on Raft clusters where standbys must be checked for read support after the upgrade.Count nodes per cluster and confirm whether the backend is integrated storage (Raft) or PostgreSQL.
Audit devices using jsonxEach audit device configured with the jsonx format must be moved to a supported format before or during the upgrade, and log consumers must be updated to match.List every audit device and its format, then identify the downstream parsers that read those logs.
Custom or third-party database plugins using removed statement fieldsPlugins that still rely on the removed creation, revocation, rollback or renew statement fields will fail once the plugin protocol changes, so each one needs code or configuration review and testing.Ask each plugin owner whether the code reads those fields and whether a fixed version exists.
Automation calling unauthenticated rekey endpointsScripts, runbooks or pipelines that rekey without a token stop working once the default disables those endpoints, so each caller must be found, changed to authenticated calls, or explicitly re-enabled on the listener.Search configuration management, CI pipelines and runbooks for rekey calls and note which listener each one uses.
Automation calling legacy lease endpointsCallers of sys/revoke, sys/renew, sys/revoke-prefix or sys/revoke-force break in 2.5.4 and later, so they must move to the current lease endpoints before that upgrade step.Search for these paths in scripts, monitoring jobs and incident tooling, including tools run by other teams.
Size of the data storeLarger data stores take longer to back up, verify and restore, which lengthens the window in which a rollback would mean restoring from backup rather than reverting a binary.Measure current storage size and time a test restore in a non-production environment before scheduling the change.

Questions teams ask before upgrading OpenBao to 2.5

How much does an OpenBao 2.5 upgrade cost?

No public price applies, and DeployOpen does not publish a price list. The cost follows from the written scope, which depends on how many clusters you run, whether they use Raft or PostgreSQL storage, how many listeners and audit devices you configure, and how many database secrets engine roles use the statement fields removed in 2.5.0. Costs have two parts: the work of planning, testing and performing the upgrade, and the internal time your engineers and approvers spend. Ask any partner for a quote that lists each cluster, the environments covered (test, staging, production), the configuration review, the rollback test and whether a retest is included. Ongoing support after the upgrade is a separate, recurring item.

How long does an OpenBao 2.5 upgrade take?

The duration depends on the number of clusters, the storage backend, the number of environments you test in, and how quickly your change approvals and maintenance windows move. A single development cluster with few configuration files is much simpler than several HA clusters that serve production applications. For HA clusters, the documented order is to back up, upgrade standbys first and then step the active node down, so each cluster needs a planned maintenance window. Ask for a timeline in the written scope that separates preparation, staging rehearsal, production windows and post-upgrade verification.

What does our team need to provide for the upgrade?

Your team needs to provide access and information that only you hold. In practice, this means:

  • A current inventory of OpenBao nodes, storage backends, listener configuration and audit devices.
  • Confirmation of whether any listener relies on unauthenticated rekey endpoints, since disable_unauthed_rekey_endpoints now defaults to true in 2.5.0 and must be set to false explicitly to keep that behavior.
  • A list of database secrets engine connections and any applications or scripts that depend on the removed jsonx audit format.
  • Named approvers, change windows and a contact for each application team that depends on OpenBao.
  • Recent, tested backups and access to the infrastructure where the clusters run.
Can our internal team upgrade OpenBao to 2.5 on its own?

Yes, a capable internal team can perform the upgrade, provided it has people who understand the cluster's storage backend, seal configuration and HA behavior, and who can test the result. The release notes list several changes that need review: the default change for unauthenticated rekey endpoints, the automatic upgrade of HA standbys to read support, the removal of the jsonx audit format and the removal of deprecated database plugin statement fields. Teams without recent experience with Raft or PostgreSQL HA often find the rollback path and the standby-first order the hardest parts. Compare the cost of that internal time with a fixed-scope engagement, and ask any partner to name which tasks they would hand back to you.

What happens if the OpenBao 2.5 upgrade fails?

A failed upgrade is recoverable only if you prepared for it before the change. The project's documented approach for HA clusters is to take a backup first, and the Rolling upgrade procedure notes that a downgrade generally means restoring the data store from backup rather than reversing binaries. Before production, rehearse the upgrade in a non-production copy, confirm that the backup restores into that environment, and record the exact steps for the rollback. Also confirm which applications will break during a rollback, because a restored data store can change what secrets and leases exist at a given moment.

Does the 2.5 upgrade remove or change anything our applications use?

Yes. OpenBao 2.5.0 removed jsonx as an audit output format, so any audit device that writes jsonx must switch to a supported format before or during the upgrade. It also removed the deprecated creation, revocation, rollback and renew statement fields from the database plugin protocol, so custom database plugin configurations need review. In 2.5.4, the legacy lease endpoints sys/revoke, sys/renew, sys/revoke-prefix and sys/revoke-force were removed because of cross-namespace lease modification (CVE-2026-45808). Search your automation, scripts and monitoring for these paths before you upgrade, and confirm the exact effect with the OpenBao 2.5.x release notes.

Can DeployOpen run the OpenBao 2.5 upgrade for us?

DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, which includes OpenBao clusters. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. A scope for this upgrade would normally cover the pre-upgrade inventory, configuration review against the 2.5 changes, backup and restore verification, the standby-first rolling procedure, post-upgrade checks and documentation. Ongoing upgrades, support and continuous testing are available as retainers. Ask for the written scope to confirm which items are included and which remain with your team.

How the upgrade phases and rollback points fit together

The diagram starts at inventory and backup, then moves through configuration changes to the standby upgrades, where the rolling sequence begins. An active step-down hands leadership to an upgraded standby before the last node is upgraded and the cluster is verified. The dashed rollback branch is the point to note: a downgrade means restoring the data store from the backup taken earlier, so no step should be treated as reversible on its own. Check each hand-off before moving to the next phase.

Upgrade phases with the rollback branch that restores the data store.

How DeployOpen scopes and delivers an OpenBao upgrade

DeployOpen treats the OpenBao 2.5 upgrade as a written scope with a tested path, not a version bump. We confirm which listeners depend on unauthenticated rekey, check standby read behavior on your Raft cluster, and rehearse the change before production. Engagements are fixed-scope, with deliverables agreed in writing before work starts.

How we scope

  • Inventory every listener and check whether it relies on unauthenticated rekey endpoints that 2.5 disables by default.
  • Confirm which audit devices use the jsonx format and which database plugin statements still use removed fields.
  • Agree in writing which clusters, environments and rollback criteria the fixed-scope engagement covers.

How we build

  • Set disable_unauthed_rekey_endpoints explicitly in listener configuration where your rekey process still needs it, and test that path.
  • Rehearse the upgrade on a non-production copy, including standby upgrade order and standby read traffic checks.
  • Migrate audit and database plugin configuration to supported formats, then retest each affected secrets engine.

How we hand over

  • Deliver a written runbook covering the pre-upgrade backup, upgrade sequence, verification steps and rollback decisions.
  • Document every configuration change made for 2.5, with the reason and the owner who approves future changes.
  • Walk your platform and security teams through the test results and leave them with the evidence for internal review.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for later OpenBao releases.
  • Ask for a quote that separates the one-time upgrade work from any recurring retainer scope.
  • Confirm with DeployOpen which support window, response channels and retest terms apply before signing the scope.

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.