Why upgrading OpenBao external plugins is a separate job from the server upgrade
Upgrading the OpenBao binary does not upgrade the external plugins your cluster depends on. Built-in plugins move with the server binary, but external plugins are standalone binaries maintained in openbao-plugins and must be upgraded on their own schedule. If your cluster mounts external secrets engines or auth methods, the server upgrade alone leaves those mounts on the plugin versions they already run, which may not match the new server. Before you schedule the server work, inventory every external plugin in the cluster, its current version, and the mounts that use it.
The supported path is the plugin upgrade guide published in the OpenBao documentation, linked from the plugin system docs. Follow that guide for each plugin rather than improvising a swap of binaries on disk. The guide and the plugin system docs describe how plugins are declared, registered and reloaded, so confirm with the current versions of both documents that your plugin versions are compatible with the OpenBao release you are targeting. Plugin compatibility is the reason this work is a separate line item, not a footnote to the server change.
Plan the plugin work alongside the server upgrade, not after it. A plugin registered for one version of the server may need a different version after the upgrade, and a mount that points at a plugin you have not yet updated can fail at the point it is reloaded. Ask your team to confirm three things in writing before the change window: which plugin versions the target OpenBao release supports, which mounts must be reloaded and in what order, and who owns each plugin's rollback if a reload fails. Treat the plugin inventory as a required input to the server change plan, so the two changes are scheduled, tested and rolled back together.
What changes for external plugins across the upgrade
This table compares how built-in and external plugins move during an OpenBao upgrade, and which plugin mechanisms change in the 2.7 line. Read each row as a change to plan for, then check the action column against your own plugin inventory. The main takeaway is that the server binary upgrade does not update external plugin binaries, so each one needs its own upgrade and registration step.
| Change | Impact | Action needed |
|---|---|---|
| Built-in plugins upgrade with the binary | Upgrading the OpenBao server binary also upgrades built-in plugins, so no separate step is needed for them. | Confirm which mounts use built-in plugins, then verify them after the server upgrade. |
| External plugins are separate binaries | The server upgrade leaves external plugin binaries at their old versions, which can mismatch the new server. | Inventory every external plugin and upgrade each one following the plugin upgrade guide. |
| Plugin stanza with plugin_auto_download | With the option set to true, OCI-distributed plugins are downloaded and registered at startup or on SIGHUP. | Review each stanza in server configuration and confirm the image reference and digest pin match the planned version. |
| Registration on SIGHUP | Sending SIGHUP triggers download and registration of declared plugins without a full server restart. | Test the signal on a standby node first and confirm the new registration in the plugin catalog. |
| Semantic-version catalog entries | Several versions of one plugin can be registered at once, and different mounts can run different versions. | Register the new version alongside the old one, move mounts one at a time, then retire the old entry. |
| Mount reload after upgrade | A mount keeps using the plugin version it started with until it is reloaded or moved to the new version. | Confirm which mounts run which version after each step and plan the reload order with your team. |
| bao plugin prune (added in 2.7.0) | Removes unused OCI plugin downloads from disk, freeing space after old versions are retired. | Run prune only after confirming no mount or catalog entry still references the old download. |
Preparing plugin inventory, backups and a test environment
Plugin upgrades touch the catalog, the mounts that use it and the files on each node, so the work starts by recording what exists today. The cards below cover the inventory, the backups and a test cluster that must match production closely enough to prove the upgrade before it reaches live mounts.
Inventory every external plugin
List each external plugin binary, its current version, and the OCI image and tag it came from. External plugins are standalone binaries maintained separately from OpenBao, so the server upgrade does not update them. Record the source for each one, including any plugin_auto_download stanzas in the server configuration, because the image reference is what you will pin later.
Plugin upgrade guideRecord catalog registrations and mounts
Capture which plugin versions are currently registered in the plugin catalog and which mount uses which version, across every namespace that hosts a plugin mount. This is the baseline you will compare against after reloading. Confirm the exact listing commands for your OpenBao release with the plugin documentation before you rely on the output.
Back up configuration and data store
Copy the server configuration files, including every plugin stanza, and take a verified backup of the data store before any change. Your backup must restore a working cluster, not just a copy of files. Confirm with your own storage backend (integrated storage or PostgreSQL) how the backup is taken and tested, since a downgrade later means restoring that data store.
Confirm the node file layout
Check where each node stores downloaded OCI plugin files and which account owns them, because plugin_auto_download writes binaries to disk on every node that loads the configuration. Record the free space on each node. Every node in the cluster needs the same plugin set, so a file that exists on one node but not another is a finding to resolve before the upgrade starts.
Build a matching test cluster
Stand up a test cluster with the same OpenBao version, the same plugin set and pinned versions, the same auth methods and a copy of the mount layout. Use sanitized or restored data where possible. The test cluster should exercise the reload path that production will use, so the team learns whether a mount behaves correctly before any live secret depends on it.
Define the rollback point
Decide in writing which previous plugin versions and configuration files you will restore if the test run fails, and who approves the rollback. Keep the previous OCI image reachable and its SHA-256 recorded, so a pinned version can be restored without a fresh download. Confirm with your change process how long the old artifacts must be retained.
How SHA-256 pins and versioned registration keep plugins predictable
A plugin stanza in the OpenBao server configuration declares an external plugin by name, type and location, and for OCI-distributed plugins it points at a specific image reference with a SHA-256 pin that identifies the exact binary the server is allowed to run. The pin is what makes an upgrade reviewable: a changed image tag or a rebuilt image with the same tag produces a different digest, so the configuration change shows up in version control as a digest change rather than an invisible swap. Before you adopt a pin, confirm the exact stanza keys, the image reference format and how digests are written against the plugin documentation for your target OpenBao version, since the OpenBao plugin system documentation is the reference for those keys and this topic does not restate them.
With plugin_auto_download set to true, OpenBao fetches OCI-distributed plugins that the stanza declares and registers them with the plugin catalog when the server starts or when it receives SIGHUP. That reload path matters for upgrades: you can change a pin, send SIGHUP to each node and confirm the new registration in the logs before any mount is moved. Plan for every node in the cluster to resolve the same digest, and check that your nodes can reach the image registry or that the artifacts are mirrored inside your network, because a node that cannot download a plugin will not have it registered. Ask whoever maintains your build pipeline how image digests are recorded and who approves a change to them.
The plugin catalog accepts semantic versions, so you can register the current and the previous version of a plugin at the same time and point different mounts at different versions. This is the safety net for upgrades: a mount can stay on the version it has been validated against while a second mount, or a test mount, moves to the new release. Side-by-side registration also means a rollback is a mount move rather than a reinstall, provided the old version is still registered and its binary is still on disk. Decide how many versions you keep registered, who records which mount runs which version, and when the older entries are retired, because each retained version is another binary to track and patch.
The plugin upgrade sequence and its rollback points
The sequence moves each external plugin to a new version while the old registration stays available until mounts are verified on the new one. Each step ends with a check, so the team knows whether it can continue or must step back.
Confirm the server and plugin version pairing
Before touching any configuration, the platform owner confirms that the target plugin release is supported with the OpenBao server version that is running or planned, using the plugin upgrade guide and the plugin's own release notes. Check the server version with
bao versionon each node. Record the current plugin version, its OCI reference and its SHA-256 pin so a rollback has known-good values. The step is done when the pairing is written down and every node reports the same server version. If the pairing is not confirmed, stop here, because the server upgrade or the plugin version may need to change first.Update the OCI reference and SHA-256 pin
The engineer edits the plugin stanza in the server configuration to point at the new OCI image tag and replaces the SHA-256 pin with the digest for that exact artifact. The old stanza is kept in version control, so reverting is a single commit. Verify the digest against the artifact source before committing, not after deployment. The step is done when the configuration validates on a non-production node and the pin matches the artifact the team reviewed. A mismatched pin should block the rollout, since it means the downloaded binary is not the one that was approved.
Register the new version alongside the old
Because the plugin catalog accepts semantic versions, the new version is registered as an additional entry instead of replacing the existing one. The old version stays in the catalog and continues to serve every mount that still uses it. An operator with the appropriate policy registers the new version and lists the catalog to confirm both entries appear with the expected versions. This is the main rollback point: as long as the old version is registered and its binary is on disk, mounts can be pointed back without a new download. The step is done when the catalog shows both versions and no existing mount has changed.
Reload the server to fetch the new plugin
With plugin_auto_download enabled, the team sends SIGHUP to each node, or restarts the node where a reload is not enough for the change. Rolling the nodes one at a time keeps the cluster available in an HA setup. Confirm in the server logs that the new OCI artifact was downloaded, that its digest matches the pin and that the plugin registered without errors. The step is done when every node logs a successful registration of the new version and the catalog reports the same state on each node. If a node fails the digest check, leave it out of service and keep the old version serving.
Move mounts to the new plugin version
The mount owner tunes or remounts each secrets or auth mount so it runs the new plugin version, starting with a non-production or lowest-risk mount. Record the mount path and previous version before each change. After the change, the owner runs a read, a write and, where relevant, a dynamic credential issuance and revocation against the mount, using the client tooling that applications already use. The step is done when those test operations succeed on the new version and the mount's configuration reads back as expected. Moving mounts one at a time means a failure affects one mount and can be reversed on that mount alone.
Verify mounts, leases and audit output
Before retiring anything, the operations team checks that existing leases still renew and revoke, that application traffic succeeds against the upgraded mounts and that audit logs show the expected plugin version for each request. Review the server logs and any monitoring that covers errors on mounts. Keep the verification window open long enough to exercise the workloads that matter, such as scheduled rotations and dynamic credential renewals. The step is done when the owner signs off on each mount in the change record. Any failed check sends the mount back to the previous version, which is still registered at this point.
Retire the old registration and prune downloads
Only after every mount has passed verification does the team remove the old version from the catalog and the configuration, and then clears the old OCI downloads. In OpenBao 2.7, the
bao plugin prunecommand removes unused OCI plugin downloads from disk, so run it after confirming no mount references the old version. Check the catalog and the mount list again to confirm the old version is no longer in use. The step is done when the catalog and disk show only the new version and the change record links the final state to the verification evidence. Keep the previous stanza and pin in version control so a future rollback is still possible.
Reloading mounts after the upgrade and pruning old OCI downloads in 2.7
After the external plugin binary or OCI image is updated, the mounts still run whatever version they were bound to, so the cutover is a deliberate step. Register the new version in the plugin catalog, then point each mount at it by moving the mount to the new version and reloading. The catalog accepts semantic versions, so the old and new versions can be registered side by side while you move mounts one at a time. Confirm the exact mount and reload commands for your OpenBao build in the OpenBao plugin upgrade guide before running them in production, and test the sequence on a non-production cluster that uses the same plugin stanzas.
Verify each moved mount before you consider it done. Check that the plugin version reported for the mount matches the target, that clients can read and write secrets through it, and that dynamic credentials are issued and revoked as expected. Watch existing leases closely, because a reload can affect how leases tied to the old plugin version are renewed or revoked. Keep a record of which mounts moved, when, and what you tested, so that a failed check gives you a clear list of what to roll back. Ask your plugin maintainers which lease and revocation behaviors changed between the two versions, since those details are specific to each plugin and are not covered by the core guide.
Pruning removes OCI downloads that nothing uses, and it is the last step, not part of the cutover. The bao plugin prune command, added in OpenBao 2.7.0, deletes unused plugin downloads from disk. Run it only after no mount references the old version and your rollback window has closed, because a rollback to the old version will need that binary again. Check the behavior of the command, including what it considers unused and where it looks, in the OpenBao 2.7.x release notes and confirm the exact syntax with the release you run. Record the disk usage before and after pruning so the result is measurable.
How plugin stanzas, the catalog and mounts connect during an upgrade
The diagram starts with the server configuration, where a plugin stanza names an OCI image and its SHA-256 pin. With plugin_auto_download = true, OpenBao fetches the image and registers the plugin in the catalog at startup or on SIGHUP. The catalog can hold several semantic versions at once, and each mount is bound to one of them. After mounts move to the new version, the bao plugin prune step removes downloads that no catalog entry or mount still uses. Check the pin, the registered version and each mount's version before pruning.
Plugin stanza, catalog versions, mounts and pruning during an upgrade.
Which upgrade path fits your cluster layout
A single OpenBao node has one process to restart and one plugin directory to check, so the upgrade is mostly a matter of confirming the new plugin binary or OCI reference is in place before the server reloads. This path suits development clusters and small test environments where downtime has no business impact, but the same checks still apply so the procedure rehearses what production will do.
- Plugin version and digest: Confirm the external plugin release matches the OpenBao minor line you are running, and record the SHA-256 value you pinned.
- Stanza and config file: Check that the
pluginstanza in the server configuration points to the new OCI reference, and thatplugin_auto_downloadis set as intended. - Reload behavior: Send SIGHUP or restart the server, then confirm the new version appears in the plugin catalog.
- Mount reload: Reload or remount each mount that uses the plugin, and test a read and a write against it.
- Rollback copy: Keep the previous plugin reference so you can register it again if a mount misbehaves.
Confirm that the upgraded plugin is listed in the catalog and that every mount reports the expected version before you call the change complete.
In an HA cluster, every node runs the server and must resolve the same external plugin. A node that still holds the old binary or an unpinned reference can serve different plugin behavior depending on which node is active, which makes failures hard to trace. The plugin change is therefore a cluster-wide rollout that has to be sequenced alongside the server upgrade.
- Same pin on every node: Use one stanza and one SHA-256 pin across all nodes, and compare the effective configuration on each.
- Startup or SIGHUP on each node: Confirm each node downloads and registers the plugin, not only the active one.
- Standby visibility: Check the plugin catalog on standbys, since standby nodes can serve read-only requests on current OpenBao versions.
- Sequencing: Follow the documented order for standbys first and the active node last, as set out in the rolling upgrade guidance, rather than inventing a separate order for plugins.
- Failover test: After the upgrade, step the active node down in a controlled way and confirm the new active node serves the same mounts.
For the server sequencing itself, follow the rolling upgrade guidance for your storage backend and check the plugin catalog on every node before you close the change.
Clusters with many mounts or several registered plugin versions need an inventory before the change. Because the plugin catalog supports semantic versions, one plugin can be registered at several versions and different mounts can run different ones. That flexibility is useful for staged moves, but it means an upgrade can silently leave some mounts on an older version.
- Inventory of mounts: List every mount that uses each external plugin and the version each one runs.
- Staged registration: Register the new version alongside the old one, then move mounts in batches so each batch can be checked.
- Version pinning per mount: Record which mounts intentionally stay on an older version and why.
- Pruning timing: Delay
bao plugin pruneuntil no mount or rollback target still needs an older OCI download, since the command removes unused downloads from disk. - Monitoring: Track disk use for downloaded plugins and alert on mounts that fail to load after a reload.
Before pruning, confirm with your own runbook which versions must remain available for rollback and for any mount still pinned to them.
What makes plugin upgrades take longer
This table lists the factors that expand an external plugin upgrade beyond a single binary swap, and what each one adds to the work. Read each row as a multiplier: the more plugins, mounts, nodes and environments you have, the more places a version change must be planned, applied and checked. The main takeaway is that most of the effort comes from consistency across nodes and environments, so standardizing declarations early pays off at every upgrade.
| Driver | Why it adds work | How to reduce it |
|---|---|---|
| Number of external plugins | Each plugin is a separate standalone binary maintained outside the core server, so each one needs its own version check, pin and upgrade decision. | Keep a single inventory of every plugin, its current version and its owner, and upgrade plugins in batches with a shared test run. |
| Mounts per plugin | A mount can run a specific registered version, so every mount using a plugin must be checked for behavior changes and reloaded after the upgrade. | Limit each plugin to the fewest mounts needed, and record which mounts use which version before starting. |
| Custom or forked plugins | A forked or in-house plugin has no upstream release to adopt, so your team must build, test and sign or pin its artifacts for every OpenBao upgrade. | Minimize custom changes, upstream fixes where possible, and automate the build and test pipeline so each release is repeatable. |
| HA node count | Every node in the cluster must load consistent plugin versions, so a mismatched node can fail requests after a failover. | Declare plugins identically in every node's configuration, and verify the registered versions on each node after the change. |
| Data volume and backups | Backups taken before an upgrade must be complete and restorable, and larger datasets lengthen backup and restore windows and the rollback plan. | Confirm backup and restore timing in your own environment before the change window, and rehearse a restore on a non-production copy. |
| Number of environments | Development, staging and production each need the same plugin versions and pins, and drift between them hides problems until production. | Use the same declarative plugin stanzas in every environment, changing only environment-specific values such as paths and hosts. |
| OCI download and disk management | Each upgrade can leave older plugin downloads on disk, which must be tracked and cleaned up on every node. | Use the plugin prune command added in OpenBao 2.7.0 after confirming that the old versions are no longer registered or in use. |
Questions teams ask before upgrading OpenBao plugins
What drives the cost of an OpenBao plugin upgrade, and can we do it in-house?
Yes, most teams can do plugin upgrades in-house if they have someone who runs their OpenBao cluster and can read configuration carefully. The effort depends on how many external plugins you run, how many mounts use them, how many clusters and environments you operate, and whether your server configuration already uses declarative plugin stanzas. Built-in plugins move with the OpenBao binary, but external plugins are standalone binaries maintained separately in the openbao-plugins project and must be upgraded on their own schedule. The main costs are staff time for inventory and testing, plus any downtime or review work your change process requires. If you use a partner, ask for a quote based on a written scope that lists the plugins, environments, mounts and test evidence you expect. Read the plugin upgrade guide before estimating your own effort.
How long does an OpenBao external plugin upgrade take?
The duration depends on the number of plugins, the number of environments, and how much testing your change process requires. No fixed figure applies to every cluster. A single plugin on one test cluster with a few mounts is a short exercise, while a fleet of plugins across production, staging and disaster recovery clusters needs sequencing, verification and a change window for each environment. Time is also driven by how well you maintain your inventory, whether pinned image digests are already recorded, and whether the new plugin version is compatible with your OpenBao release. Ask any provider to show how they split the work into inventory, test, production and verification steps, and to name the environments they will touch.
What does the team need to provide for a plugin upgrade?
The work needs three things from your team: an accurate inventory, a test cluster, and an agreed change window. The inventory should list every external plugin, its current version, the OCI image reference and SHA-256 pin used in each plugin stanza, the mounts that use each plugin, and the clusters that run them. A test cluster should match production closely enough to show that a new plugin version registers, that existing mounts reload, and that secrets and leases keep working. The change window must allow for reloading mounts and for a rollback path if verification fails. Confirm with your security team who approves changes to plugin images and pins, because those pins are your assurance that the binary you run is the one you reviewed.
Do built-in OpenBao plugins need separate upgrade work?
No separate plugin upgrade is needed for built-in plugins, because they are part of the OpenBao binary and move when you upgrade the server. External plugins are different: they are standalone binaries and must be upgraded separately, following the plugin upgrade guide. This split matters for planning. An OpenBao server upgrade does not update your external plugins, and a plugin upgrade does not update the server. Your change plan should list both tracks, and your test cluster should confirm that the server version and each external plugin version work together before you change production. Check the release notes for the OpenBao version you are moving to, since changes there can affect how mounts and plugins behave.
Is it safe to automate pruning of old OCI plugin downloads?
Automating pruning can be reasonable, but only after you confirm that the plugin versions you still need are registered and in use. OpenBao 2.7.0 added the bao plugin prune command, which removes unused OCI plugin downloads from disk. The safety question is whether a version is unused. Before you schedule pruning, check that every mount points at the version you intend to keep, that the catalog holds the versions you might roll back to, and that a version you still need is not removed. Run the command on a test cluster first, record the output, and only then add it to a scheduled job on production. Keep a copy of the pinned image reference for any version you may need to restore, so a rollback does not depend on a file that pruning has removed.
What does a rollback look like after an OpenBao plugin upgrade?
A rollback means pointing mounts back at the previous registered plugin version and reloading them, which is possible only if that earlier version is still registered and its binary is still on disk. The plugin catalog supports semantic versions, so several versions can be registered at once and different mounts can run different versions. This is why you should register the new version alongside the old one, move mounts one at a time, and verify each mount before moving the next. Keep the old OCI image reference and SHA-256 pin in your configuration until verification is complete. If the earlier binary has been pruned, the rollback requires re-downloading it from its pinned reference, which adds time and depends on registry access. Record the exact steps in your runbook and rehearse them on the test cluster.
Can DeployOpen handle plugin upgrades for our OpenBao clusters?
DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own infrastructure, which includes OpenBao clusters and their external plugins. Engagements are usually fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. A scope for a plugin upgrade would normally cover the inventory, the test cluster run, the production change, verification evidence and a runbook for rollback. Ongoing upgrades and testing can be covered by a retainer. DeployOpen does not publish a price list, so ask for a quote that follows from the written scope.
When a partner is worth bringing in for plugin upgrades
A partner reduces risk most when the plugin estate is large or change control is strict, and the first step is an honest inventory. Count the external plugins you run, note which ones are community-maintained and which are built in-house, and record which mounts depend on each. If that list is short and one engineer can explain every version pin, internal work may be enough. If it is long, or if plugins are rebuilt from your own source, the number of separate OCI image pins, SHA-256 values and version registrations grows quickly, and each one needs its own test and rollback record. A partner can help standardize the plugin stanzas, the registration process and the reload steps so that the upgrade looks the same for every plugin.
Regulated change control is the second common trigger. If your change board requires a documented test in a non-production environment, evidence of who approved each digest, and a rollback plan that has been rehearsed, the plugin upgrade becomes a compliance task as well as an engineering one. Ask a prospective partner how they would show the approval trail, how they would verify that the SHA-256 pin in the configuration matches the artifact that was tested, and how they would confirm that old versions remain registered until the new mount has been checked. Before you engage anyone, confirm the requirements with your own auditors and change board, because DeployOpen prepares evidence but does not issue audit reports or attestations.
The third trigger is the absence of an internal owner for the plugin build pipeline. Someone must track upstream releases in openbao-plugins, rebuild or re-pull images, update the pins, and decide when to run bao plugin prune after a successful upgrade. When that role is unassigned, plugins drift behind the server version and the team learns about it during an incident. A fixed-scope engagement can set up the pipeline, document the steps and hand them over, or a retainer can keep the upgrades current over time. Ask any partner what they will leave behind: runbooks, pipeline definitions, pin records and a tested rollback, so your team can operate the process after the engagement ends.
How DeployOpen works on this
DeployOpen starts by inventorying the external plugins your OpenBao clusters load and the mounts that depend on them, then agrees the upgrade in writing before any change. The work is delivered in your own infrastructure, with pinned OCI images, staged registration and a documented handover your team can repeat.
How we scope
- Inventory every external plugin, its current version and the mounts that use it across each cluster
- Record the target OpenBao minor line and plugin versions, and confirm compatibility with the plugin upgrade guide
- Agree in writing which clusters, environments and rollback points are in the fixed scope
- Identify whether you need ongoing support or a retainer for future plugin releases after the initial upgrade
How we build
- Write declarative plugin stanzas with OCI image references and SHA-256 pins in your server configuration
- Register new plugin versions alongside existing ones in the catalog, so mounts can move one at a time
- Test plugin reloads on a non-production cluster before scheduling any change on production mounts
- Plan the
bao plugin prunestep for OpenBao 2.7 so old OCI downloads are removed only after verification
How we hand over
- Deliver the final configuration, pin list and mount-to-version map as versioned files in your repository
- Document the reload sequence, the SIGHUP behavior with plugin auto-download, and the rollback path for each mount
- Run a walkthrough with your platform and security teams so they can repeat the upgrade themselves
- Record test results and verification steps so your auditors and reviewers can trace each change
How we support
- Offer ongoing upgrades and continuous checks for new plugin releases as a retainer, scoped separately
- Review pins and image sources whenever a new plugin version or OpenBao release is published
- Keep the handover runbook current when your cluster topology or plugin list changes
- Quote any follow-on work from a written scope, since DeployOpen does not publish a price list

