Managing OpenBao plugins from OCI registries

Running external OpenBao plugins in production means controlling where binaries come from, pinning what runs, and keeping air-gapped and pruned copies under review. This page explains the options and the work involved.

On this page

Why teams manage OpenBao plugins from OCI registries

A platform team usually needs an external plugin when OpenBao does not ship the secrets engine or auth method the organization depends on, such as a directory or vendor-specific integration. The hard part is not enabling the plugin but getting the same verified binary onto every node in the cluster and keeping it at a known version through upgrades. The plugin_auto_download setting addresses this by letting OpenBao fetch a plugin packaged as an OCI image from a registry the team controls, so the plugin is delivered as a versioned artifact instead of a file copied onto each host.

Copying binaries by hand works for a single node in a lab, but it breaks down once a cluster has several nodes, a plugin is updated, or someone needs to prove which build is running. Pulling from an OCI image makes the artifact a unit that can be reviewed, tagged and promoted. A SHA-256 pin adds the integrity check: the expected digest is recorded in configuration, so a retagged or altered image does not load silently. Confirm the exact field names and how digest mismatches are reported in the OpenBao plugin documentation for the release you run, and test a deliberate mismatch in a non-production cluster before relying on it.

Before adopting this model, the team should decide who builds and signs the plugin images, which registry hosts them, and who approves a new digest. Those owners carry the recurring work: rebuilding images when a plugin is patched, updating pins, and rechecking them after each OpenBao upgrade. Ask whether the registry is reachable from every node and whether the environment must run without internet access, since that changes the delivery design covered later on this page. A quote for this work should list the image pipeline, registry operation, pin governance and upgrade testing as separate items.

Plugin delivery options and when each fits

This table compares four ways to get an external plugin binary onto an OpenBao node: declarative stanzas, auto-download from OCI images with SHA-256 pins, manually staged binaries and air-gapped mirrors. Read each row against your network position, how often you need reproducible builds and who signs off on a new binary. Most regulated teams end up combining a pinned delivery path with a mirror they control.

OptionBest fitMain trade-offWho approves a new binary
Declarative plugin stanzaConnected nodes with a small, stable set of pluginsConfig alone does not prove which binary runs, so pair it with a checksum you verifyPlatform owner reviews the config change, plus the security team for the plugin source
plugin_auto_download from OCI with SHA-256 pinConnected clusters that rebuild nodes often and need pinned, repeatable versionsNodes must reach the registry at start or update, and every pin change needs a review stepSecurity team approves the image digest and SHA-256 value before the pin is merged
Manually staged binarySmall estates or one-off plugins where automation is not justifiedEasy to drift between nodes, and hard to prove later which file was usedChange board or service owner signs off on the file hash and its source record
Air-gapped plugin mirrorIsolated networks, or sites that must limit what crosses the boundaryYou run and patch the mirror, and each carried package needs verification on entryAssessor-facing owner approves each import, with the hash and provenance recorded
Pruned download cacheAny option that leaves old binaries on disk after upgradesRemoving a binary still needed by a running node causes failures, so check firstOperations lead approves removal after confirming no pinned version still refers to it

Setting up a pinned OCI plugin on a running OpenBao

This sequence adds one external plugin to a running OpenBao cluster while keeping the image identity fixed to a SHA-256 digest. It produces a documented publisher decision, a pin kept in version-controlled configuration, and evidence that every node loads the same plugin content.

  1. Confirm the plugin source and publisher

    Name the plugin, the registry, the image repository and the organization that publishes it. Confirm that the publisher is one your security team has approved, that the plugin version is compatible with your OpenBao release, and that release notes are available for review. Record the owner, the maintainer contact and the full image reference in your change ticket. This step is done when another engineer can point to the same image reference and explain why it was chosen.

  2. Record the SHA-256 digest of the image

    Resolve the image tag to its digest in the registry so the pin refers to fixed image content that a tag cannot change. Compare that SHA-256 value with the one the publisher provides, if the publisher lists one, and store it in the change record and alongside the configuration in version control. Confirm with the publisher or your registry administrator how digests are published for that repository. This step is done when the digest is written down, matched against the publisher's value and reviewed by a second person.

  3. Add the declarative plugin stanza

    Add the plugin to your declarative configuration with its name, type, version, the OCI image reference and the pinned SHA-256 value. Keep the file in version control so the change is reviewed and can be reverted. Check the exact key names and accepted value formats in the OpenBao plugin documentation for your release, since they must match your version exactly. Run the configuration check from your diagnostics runbook before going further. This step is done when the file validates and the diff contains only the intended plugin entry.

  4. Enable auto download on a test node

    Choose one non-production node, apply the configuration with plugin auto download enabled, and restart or reload it as your release requires. Watch the server logs for the download and registration messages, and note any error about registry access, pull permissions or a digest mismatch. Once the node is up, read the plugin catalog and enable a test mount that uses the plugin, then write, read and disable a test value. This step is done when the plugin appears in the catalog and the test mount works end to end.

  5. Verify the registered hash matches the pin

    Read the plugin catalog on the test node and compare the hash it reports with the digest you pinned. The two values must match exactly. If they differ, stop, remove the auto-download entry and determine whether the registry image, the pinned value or the configuration is wrong before you retry. Also confirm that the reported version is the one you expected. This step is done when the catalog hash equals the pinned value and the test mount still behaves as it did before.

  6. Roll the change across the cluster

    Apply the same stanza to the remaining nodes one at a time, starting with standby nodes so the active node changes last. After each node restarts, confirm that it is healthy, read its plugin catalog and compare the hash with the pin. Keep the previous configuration available for rollback until every node reports the expected hash. This step is done when all nodes report the same pinned hash and a test mount works through the active node and through a standby.

How a plugin moves from registry to a running mount

The flow starts at an OCI registry or an air-gapped mirror, where the plugin image is published. A reviewer approves a specific image digest, and the SHA-256 pin for that artifact is recorded in the plugin stanza of the OpenBao configuration. When plugin_auto_download is in use, the node fetches the artifact and checks its hash against the pin before the plugin is registered. Only a verified binary enters the plugin catalog and is then mounted as a secrets engine. The subgraph labeled as the cluster boundary marks where your control begins, so check the registry side and the approval step before anything crosses it.

Trust boundary between the registry side and the OpenBao cluster, from pin to mount.

Security controls for externally sourced plugins

A plugin runs inside the OpenBao process and handles secrets, so it carries the same trust as the server itself. The controls below cover how a plugin is pinned, who may change its configuration, how registry access is limited, and how plugin review stays separate from application releases. Each one is a decision your team should record before the first plugin reaches production.

Pin plugins by SHA-256 digest

Record the SHA-256 digest of each plugin binary in the plugin stanza and treat that digest as the approved version, not the image tag. A mutable tag such as latest can change without any review, so a pin that does not match the downloaded binary should stop the plugin from loading. Check that the digest in your configuration was taken from an image you reviewed, and confirm how OpenBao reports a mismatch in your version's documentation.

Migration guide

Limit who can change plugin stanzas

Plugin stanzas in server configuration decide what code runs with access to secrets, so changes to them need the same approval as changes to the seal or storage settings. Keep configuration in version control, require review from someone outside the team that proposed the change, and restrict write access to the production configuration repository and host files. Ask who can edit the file on each node, since local edits can bypass the review trail.

Control registry access

Decide which OCI registry hosts plugin images and who can push, pull and delete them. Pushing should go through a restricted publishing identity, pulls from OpenBao nodes should use a read-only credential, and retention or deletion rights should sit with a small group. Confirm that registry audit logs record pushes and pulls so an unexpected image change can be traced to an identity and a time.

Separate plugin review from application changes

Plugin updates should move through their own review path rather than riding along with application or infrastructure releases. A reviewer checks the upstream source, the build provenance, the new digest and the release notes, then approves the pin as a distinct change. Keeping this separate makes it clear which plugin version was approved and lets you roll back a plugin without redeploying unrelated systems.

Verify integrity across isolated boundaries

When plugin binaries are carried into an air-gapped enclave on removable media or a transfer system, the digest check is the point where integrity is confirmed. NERC CIP-013-2 asks utilities to address verification of software integrity and authenticity in their supply chain procurement process, and the same logic applies to any regulated operator bringing software across a boundary. Record who verified each transfer, compare digests against the approved list before import, and keep that record with the change ticket.

CIP-013-2 text

Building an air-gapped plugin mirror and keeping it current

Start the mirror on a connected staging host that runs the same OpenBao minor line as the isolated nodes. For each external plugin, pull the OCI image from a registry you have approved, record its digest, and extract the plugin binary to compute its SHA-256 value. That hash becomes the pin in the plugin stanza, so the isolated cluster can load only the exact file you tested. Copy the image or binary into an internal registry or file store the isolated network can reach, and keep the digest, hash and source registry in one manifest that travels with the bundle. Before the transfer, confirm in the OpenBao plugin documentation whether plugin_auto_download can point at an internal registry host or must read from a local path. That answer decides which mirror layout you build.

Checks happen twice: once on staging before the bundle leaves, and again after it crosses the boundary. On the isolated side, recompute the SHA-256 of every artifact, compare it with the manifest and the pins, and reject the whole batch if any single value differs. Keep the transfer media, the hash list and the approver's sign-off in your change record. If you operate under NERC CIP obligations, CIP-013-2 asks for supply chain procurement processes that address verifying the integrity and authenticity of vendor software and patches, and the isolated boundary is where that check happens for OpenBao plugins. Plan the transfer as a repeatable step so a rejected bundle can be replaced quickly without rebuilding the process.

Other self-hosted platforms in this catalog handle offline installs in their own ways. GitLab's offline environments guidance covers running self-managed instances without internet access, and it treats its security scanners and AI features as separate items with their own offline steps. OpenBao plugins call for the same planning, but the mechanism differs: you own the image pulls, the hash pins and the mirror location. To keep the mirror current, review each plugin's release notes on staging, rebuild the manifest when a version changes, and update the pins in the plugin stanza. Prune older downloads only after the nodes run the new pins and a rollback copy is retained. Confirm the retention period with your change board before any pruning runs.

Limits to confirm before you rely on plugin auto download

Plugin auto download changes how external plugins reach a running OpenBao node, so the behavior depends on version, plugin type and cluster topology. The supplied research does not document these details for plugins, so each card below is a question to put to the project or test in a lab before production use.

Which plugin types are supported

Confirm which plugin categories can be loaded through plugin_auto_download. Secrets engines, auth methods and database plugins may behave differently, and some may still need manual registration. Ask the project for the supported list and test one plugin of each type you plan to run in a lab. Record the exact plugin name and type each stanza must declare, because a mismatch often shows up only at mount time.

Storage docs

Behavior during upgrades and version changes

Find out what happens to downloaded plugin binaries when OpenBao or the plugin itself moves to a new version. Ask whether a new pin triggers a fresh download on every node, whether old binaries are replaced in place, and whether a running mount keeps the old binary until restart. Test an upgrade in a lab with a pinned digest and observe the order of events on each node before you schedule the change.

Minimum OpenBao version for each feature

Confirm the first OpenBao release that supports plugin_auto_download, OCI pulls, digest pinning and any related pruning behavior. Feature availability can differ from the version that introduced the general plugin system. Compare your target release against the project's release notes, and check the migration guide if your cluster was originally built on Vault, since older configuration may not carry over unchanged.

OpenBao releases

Behavior on standby nodes

Confirm whether standby nodes download and verify plugins on their own, or whether they depend on the active node or a shared cache. This matters for high availability, because a standby promoted during an outage must already hold the exact binary. Ask whether a failed download on a standby blocks startup, logs a warning or silently retries. Test failover in a lab with the registry blocked.

Registry authentication support

Confirm which registry authentication methods the auto download path accepts, such as anonymous pulls, basic credentials, token-based access or cloud registry identity. Check how credentials are supplied, whether they can be read from a file or environment variable, and whether they appear in logs or the process list. Store credentials in your secrets workflow, not in the configuration file, and confirm the behavior with a registry you control.

Checksum verification and failure handling

Confirm what OpenBao does when a SHA-256 digest does not match the downloaded artifact, and whether a mismatch stops the node, skips the plugin or falls back to a cached copy. Ask whether verification covers the image manifest, the layer or the extracted binary. Test a deliberately wrong pin in a lab and document the result, since the response to a mismatch defines your alerting and rollback plan.

OpenBao HA docs

Questions teams ask before running OpenBao plugins in production

What drives the cost of running OpenBao plugins in production?

The main cost is internal staff time, followed by review cycles, mirror hosting and testing. Engineers spend hours writing plugin stanzas, pinning SHA-256 digests and reviewing each plugin version before it reaches a cluster. Mirror hosting recurs if you run a private OCI registry or an air-gapped mirror for plugin images. Testing also recurs, because each plugin upgrade and each OpenBao minor release needs a check in a non-production cluster. The initial pilot and the review workflow are one-time costs. In a quote, ask for one-time setup and recurring upkeep to be listed separately, and ask who maintains the mirror and who approves each new digest.

How long does a plugin pilot take for OpenBao?

No fixed duration applies without knowing the plugin count and the environment. Length depends on how many plugins are in scope, whether clusters are connected or air-gapped, how many OpenBao versions you must support and how many approval steps your change process requires. A pilot usually proves one plugin end to end: the stanza, the download, the digest pin, an authentication test, restart behavior and rollback. The remaining plugins then follow the same pattern. Ask any partner for a timeline tied to a written scope that lists plugins, environments and test cases. Check the OpenBao releases page for the version you plan to target before the schedule is fixed.

What does our team need to provide for plugin work?

Your team provides access to the OpenBao clusters and the registry or mirror location, plus a list of plugins with their publishers and versions. You also need a named approver for digests, a staging environment that resembles production and agreed change windows. Your engineers should know which secrets engines and auth methods depend on each plugin, because that dependency decides how much testing a change needs. Someone on your side must own the decision to accept a new plugin version. Without that owner, pins drift and reviews stall. Agree these responsibilities in writing before the work starts so the scope does not expand during the pilot.

Can our own team manage OpenBao plugins without a partner?

Yes, if your team already manages OpenBao configuration as code, operates an OCI registry and runs a formal release process. Many teams start with one plugin and expand once the review steps are routine. Confirm several points in your own environment before you rely on the feature: how plugin_auto_download behaves on the OpenBao version you run, how your registry stores and serves images, and how you roll back a plugin that fails to load. Check these against the current OpenBao documentation for your release rather than against memory of earlier versions. A team without an existing registry or config pipeline will spend most of its effort on that foundation first.

What does a partner change compared with doing it in-house?

A partner provides a fixed, written scope, a tested pattern for stanzas, digest pinning and mirror procedures, and an independent review of the result. Typical deliverables include stanza templates, a mirror runbook, a pruning procedure and test evidence from the pilot. A partner does not take over your decisions about which plugins to trust or who signs off on a digest. Those decisions stay with your organization. Engagements are usually fixed-scope, with deliverables and timelines agreed before work begins, and ongoing support or upgrade testing can be added as a retainer. Ask for the deliverables in writing so you can judge the work when it ends.

How do SHA-256 pins and air-gapped mirrors reduce plugin risk?

A SHA-256 pin makes OpenBao load only the plugin binary your team reviewed and tested, so a changed image under the same tag does not pass unnoticed. An air-gapped mirror lets you check each image on one side of a boundary before it crosses into the isolated network. This supports the supply chain expectations in NERC CIP-013-2, which asks that procurement processes address verification of software integrity and authenticity for vendor software and patches. Whether that standard applies to you depends on your sector and registration. DeployOpen prepares the controls and records that support your evidence, but independent auditors decide whether your program meets the requirement.

How do plugin upgrades and pruning fit with OpenBao upgrades?

Plugin versions should be reviewed in the same change window as OpenBao upgrades, because a plugin that loads on one minor release may need a new version on the next. Pruning removes old downloads from the cluster or mirror, but it must keep every version still referenced by a pin or needed for rollback. Before you prune, confirm which plugin versions your target OpenBao release supports and record the rollback path for each plugin. Ask a partner for a written runbook that states the retention rule, who runs the prune and how the action is logged. Test the runbook in staging before the first production run.

How DeployOpen scopes and delivers OpenBao plugin management

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including the OCI plugin pipeline, pins and mirrors that OpenBao plugins depend on. Engagements start with a written scope, so the plugin list, registry path, verification method and handover are agreed before any cluster is changed.

How we scope

  • Inventory every external plugin your OpenBao clusters load and the business need each one serves.
  • Record the registries, image references and SHA-256 pins that each environment will accept.
  • Agree in writing whether connected or air-gapped plugin delivery applies to each cluster.

How we build

  • Write declarative plugin stanzas and plugin_auto_download settings in version-controlled configuration.
  • Build an internal mirror or image path for air-gapped clusters, then test pulls against pinned digests.
  • Test failed-download behavior, pin mismatches and pruning of old downloads on a staging cluster first.

How we hand over

  • Deliver the configuration, pin register, mirror procedure and pruning runbook as documentation your team owns.
  • Walk through the verification steps your engineers repeat when a plugin version changes.
  • Record the open items, such as registry access or approval steps, that remain with your team after handover.

How we support

  • Offer ongoing support, plugin upgrades and continuous testing as a retainer after the fixed-scope work ends.
  • Retest plugin pins and mirrors when OpenBao releases or plugin versions change in your environment.
  • Confirm each support request against the written scope so changes stay visible to both teams.

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.