Auto-unsealing OpenBao from another OpenBao cluster with the transit seal

The transit seal lets one OpenBao cluster unseal another by calling its transit engine, which removes manual unseal ceremonies but makes the source cluster a dependency for every restart. This page explains the settings, setup and trade-offs.

On this page

When teams use transit auto-unseal for OpenBao

Teams choose transit auto-unseal when they need OpenBao to restart and unseal without Shamir key holders on call, and they already run, or can justify running, a second OpenBao cluster that is better protected and more stable than the one being unsealed. The transit seal is a built-in OpenBao seal. The protected cluster does not hold the wrapping key itself. Instead, on startup it sends an encrypted copy of its root key to the source cluster, where the transit secrets engine decrypts it using a key that never leaves the source cluster. The protected cluster then unseals and keeps running. This removes manual unseal ceremonies for routine restarts, but it moves the trust boundary to the source cluster: whoever can administer or unseal that cluster can, in effect, unseal the protected one.

Before committing, confirm three things with the vendor documentation for your build and your own environment. First, confirm which seal stanza, token settings and transit key name your OpenBao version expects, because the configuration fields and their defaults are the part most likely to differ between releases. Second, confirm how the source cluster authenticates the protected cluster's token, including token renewal and how long a token is valid, since an expired token stops automatic unseal. Third, confirm how the protected cluster behaves when the source cluster is unreachable at boot, because that determines whether a restart can complete. The OpenBao documentation is the starting point for these checks.

The decision also depends on what the source cluster is. If it is a dedicated, separately administered cluster with its own storage, backups and restricted operator access, the dependency is manageable. If it is a shared cluster that other teams change often, every routine change to it becomes a possible outage for the protected cluster. Plan for that dependency explicitly: decide who owns the source cluster, how its availability is monitored, and what your recovery path is if it is down during a planned or unplanned restart of the protected cluster.

How the protected cluster gets its root key back at startup

The protected OpenBao node starts sealed, so it cannot read its own root key. It sends the wrapped key to the source cluster's transit engine, authenticated with a token and naming a transit key. The source cluster decrypts the value with its own key and returns the result, which the protected node uses to unseal. Check that the token's policy covers only the transit encrypt and decrypt paths, and that the trust boundary between the two clusters is documented and reviewed.

Startup flow from a sealed node to the source cluster's transit engine and back.

Transit seal settings and when each fits

This table walks through each documented parameter in the transit seal stanza, the choice it forces, and what to confirm in the official configuration reference before you commit. Read it top to bottom while drafting the seal block for the cluster being unsealed. The main takeaway is that the token and key name decide how much damage a leaked credential can do, so set them with least privilege from the start.

SettingChoice to makeWhen it fitsWhat to confirm
Source addressAddress of the source cluster's API endpoint, usually a load balancer or stable DNS nameUse a stable name that survives source node replacement; a single node IP ties unseal to one machineExact parameter name and whether the address must match the source TLS certificate
Mount pathPath where the source cluster's transit engine is enabledUse a dedicated transit mount for seal operations rather than a mount that also serves application encryptionDefault mount path and how it is written in the seal stanza
Key nameName of the transit key that wraps the root keyA dedicated key per unsealed cluster lets you rotate or restrict one cluster without affecting othersKey type and whether the key must be created before the target cluster initializes
TokenToken the target cluster uses to call transit encrypt and decryptA dedicated token with a policy limited to encrypt and decrypt on the seal key fits; a long-lived admin token does notToken renewal behavior, how the token is supplied (file, environment or config), and where it is stored
TLS settingsCertificate verification, CA bundle and client certificate options for calls to the sourceVerify the source certificate against an internal CA; disabling verification is only a temporary test settingNames for CA certificate, skip-verify and server name options, and their defaults
NamespaceNamespace path on the source cluster that holds the transit mount, if namespaces are usedSet it only when the transit engine lives in a namespace; a wrong path fails at unseal timeWhether the seal stanza supports a namespace parameter in your OpenBao version

The availability dependency transit unseal creates

Transit auto-unseal makes a second OpenBao cluster a critical dependency of the protected cluster. The protected cluster cannot unseal its root key on its own, so every restart, failover, node replacement or rolling upgrade that leaves a node sealed needs the source cluster to be reachable, unsealed and willing to perform the decrypt call. A transit seal does not reduce the number of unseal events on the protected cluster. It moves them to a network call against another system, and an outage on that other system then becomes an outage of the protected cluster.

The failure modes are specific and worth listing before the build starts. A source outage or a source cluster that is itself sealed stops every sealed node from completing unseal. A network partition between the two clusters produces the same symptom while both clusters look healthy from their own side, so monitoring must check the path from each protected node to the source. A token expiry or revocation on the protected side, the token that the seal uses to reach the transit engine, leaves nodes unable to unseal even though the source is fine. Deletion or disablement of the transit key on the source is the most severe case, because data encrypted under that key may become unrecoverable. Confirm in the seal configuration reference which token and key settings you control, how the token is renewed, and what the protected cluster logs when a decrypt call fails.

Treat the source cluster as production infrastructure with its own high availability and recovery plan. Run it on a separate storage backend and failure domain where possible, document its unseal method (a Shamir ceremony or a separate auto-unseal source), back up its storage and keys, and restrict who can administer the transit key. Test a full restart of the source cluster and a failed-unseal drill on the protected cluster before go-live, and write down the recovery order for both clusters. Confirm the supported high availability backends and recovery procedures for your chosen versions in the OpenBao high availability documentation before you commit to a design.

Setting up transit auto-unseal step by step

This sequence moves a protected OpenBao cluster from manual or Shamir unsealing to automatic unsealing, using a separate source cluster's transit engine to hold the key that wraps the root key. Each step ends with a check you can run before moving on.

  1. Confirm the source cluster and its health

    The platform team confirms which OpenBao cluster will act as the key source and that it is initialized, unsealed and healthy on every node. Run the status command against each node and confirm the cluster reports as unsealed with a stable leader. Keep this cluster's availability in mind from the start, because every protected node will need it when it restarts. Do not proceed if any source node is sealed or failing over, since the protected cluster will inherit that failure.

  2. Enable the transit engine on the source cluster

    On the source cluster, an operator with administrative rights enables the transit secrets engine at a dedicated mount path, such as transit-unseal, so that its purpose is obvious to later reviewers. Keep this mount separate from application encryption-as-a-service mounts. Verify the mount by listing the enabled secrets engines and confirming the transit path appears with the expected name. Record the mount path, because the seal stanza on the protected cluster must match it exactly.

  3. Create a dedicated transit key and policy

    Create one named transit key for the protected cluster and do not reuse keys shared with applications. Then write a policy that allows only the operations the seal needs, which are encrypting and decrypting with that single key and looking up the key's properties if your configuration requires it. Attach the policy to a dedicated identity, not to a human account. Verify the policy by testing with its token: encryption and decryption against the named key should succeed, while listing other keys or reading other mounts should be denied.

  4. Issue a limited token for the seal

    Create a token bound to the dedicated policy, with a renewal strategy and a period that match your operating model, and store it in the protected cluster's secure delivery path, not in plain configuration files shared with other teams. Confirm the token's policies and TTL settings with a token lookup. Plan how the token will be renewed or rotated before go-live, since the protected cluster cannot unseal once the token is invalid. Check that the token can perform the transit operations and nothing outside them.

  5. Add the transit seal stanza to the protected cluster

    On the protected cluster, edit the configuration to replace or prepare the seal block with the transit seal type, pointing to the source cluster's address, the transit mount path, the key name and the token location. Include the source cluster's CA trust material so TLS verification succeeds. Keep the existing storage and listener settings unchanged. Validate the configuration file syntax before any restart, and confirm the seal type in the file matches the design you approved in the earlier steps.

  6. Migrate from Shamir and verify unsealing on each node

    If the protected cluster currently uses Shamir keys, run the seal migration procedure documented by the project, which requires the existing unseal key threshold to be provided once so the root key can be re-wrapped under the transit key. Store the recovery keys that the migration produces in your offline custody process before continuing. Then check the seal status on the leader and confirm it reports the transit seal as active and the cluster as unsealed. Finally, restart one standby node and confirm it returns to unsealed without anyone entering keys. Only then restart the remaining nodes one at a time.

  7. Test source outage behavior before go-live

    Before the cluster carries production traffic, the operations team deliberately makes the source cluster or transit path unavailable in a test window and restarts a protected node to observe the result. Confirm the node stays sealed, that the alert on seal failure fires, and that recovery of the source cluster unseals the node automatically. Record the observed behavior and the runbook steps for a source outage, including who can restore the source and how recovery keys are used if it cannot be restored in time.

Protecting the token, the transit key and the recovery material

The transit seal turns two clusters into one trust chain: the protected cluster can only open itself while the source cluster answers. The cards below cover the credentials, keys, logs, network paths and recovery material that decide whether that chain stays both available and tightly controlled.

Scope the seal token narrowly

The protected cluster authenticates to the source cluster with a token that only needs to encrypt and decrypt through the transit engine on one named key. Give it a policy that allows the transit encrypt and decrypt paths for that key and nothing else, then confirm with a test that it cannot read other secrets or manage mounts. Plan rotation of this token before go-live, because an expired or revoked token stops the protected cluster from unsealing after a restart.

OpenBao auth docs

Protect the source cluster's root and unseal material

The source cluster is itself a sealed system with its own unseal keys and root credential. Anyone who can unseal the source cluster can use its transit engine, so its seal, keys and root token deserve the same custody as the protected cluster. Confirm who holds its unseal shares, where the initial root token was stored, and that it was revoked or moved out of routine use.

Audit every transit operation

Each unseal depends on a transit decrypt request, so the source cluster's audit device records the activity that decides whether the protected cluster starts. Enable an audit device on the source cluster, send its logs to storage the source operators cannot edit, and alert on decrypt requests from unexpected identities or outside restart windows. Check that you can tie each request to a token and a host.

OpenBao HA docs

Secure the network path and TLS

The protected cluster reaches the source cluster over the network at every startup and seal recovery, so that path is part of the trust boundary. Use TLS on the source listener, pin or validate its certificate authority in the protected cluster's seal configuration, and restrict the path with firewall rules so only the protected nodes can reach the transit endpoint. Test a failed TLS handshake to confirm the protected cluster stays sealed rather than falling back to anything else.

Keep recovery keys outside both clusters

If the source cluster is lost, the protected cluster cannot unseal, so recovery material must exist outside both clusters. Store the protected cluster's recovery keys and a copy of the source cluster's unseal and root material in separate, access-controlled locations such as an offline vault held by named custodians. Test that custodians can retrieve and use them, and document the order in which the two clusters would be rebuilt.

Model the attacker who holds transit access

Anyone who can call the transit decrypt operation with the protected cluster's token can recover its root key, so transit access is effectively unseal access. Map which networks, workloads and administrators can reach the source cluster, reduce that set, and review whether a stolen protected-cluster token alone is enough to decrypt. Decide in advance whether a compromise of either cluster triggers rekeying of the transit key and rotation of the seal token.

Moving an existing Shamir-sealed cluster to transit

Moving a running Shamir-sealed cluster to the transit seal is a planned seal migration, not a configuration edit. Changing the seal changes how the root key is protected, so the cluster must be taken through a controlled procedure with the existing recovery keys in hand. Before any change, confirm that the unseal key shares or recovery keys are available to the people who will need them, that they are stored securely, and that you can reach a quorum of them under pressure. If the recovery material is incomplete or uncertain, fix that first, because the seal change is the wrong moment to discover a gap.

The migration path itself is version-specific. The OpenBao migration guide covers replacing a Vault server with OpenBao in place, with configuration, endpoints and URLs unchanged, and it was tested only against Vault 1.14.1 community edition. It does not walk through changing the seal on an existing OpenBao cluster. Confirm the seal migration steps, including how recovery keys are handled during the change, in the official OpenBao documentation for the exact version you run, and check the OpenBao releases page for version-specific notes before scheduling the work. Do not assume that steps written for another seal type, or for another version, apply unchanged.

Plan the change as a rehearsed event. Run it first on a non-production cluster that matches your storage backend and node count, record each command and the state after it, and agree on a rollback point with the operators who hold the keys. Schedule the transit seal source (the separate OpenBao cluster that will hold the wrapping key) and confirm it is unsealed and reachable from every node before you begin. The migration is also the point where the transit dependency first becomes live, so the operators must understand that a failure of the source cluster will block unsealing of the target from that point on.

Limits to confirm before you commit

The transit seal makes one OpenBao cluster depend on another to start. Before you commit, confirm the version support, failure behavior, token and key handling, and network performance for your setup. The supplied project facts do not give figures for these limits, so obtain them from the vendor documentation or from a test in your own environment.

Supported OpenBao versions for the seal

Confirm which OpenBao versions document the transit seal for both the protected cluster and the source cluster, and whether the two clusters must run matching minor versions. Check the release notes for the version you plan to run, since seal behavior and configuration keys can change between releases. Record the exact versions you test, because a later upgrade on either side can change the dependency. The version pairing is the first thing to verify.

OpenBao releases

Behavior when the source cluster is down

Test what happens to the protected cluster when the transit source is unavailable during a restart, a leader change or a node replacement. Confirm whether an already unsealed node stays unsealed, how long a restarted node retries, and what alerts fire. Decide how many failures in the source cluster the protected cluster can absorb. Treat the source cluster as a startup dependency until your test shows otherwise.

Token renewal requirements

The transit seal authenticates to the source cluster with a token, so confirm the token type, its TTL, whether it is periodic, and how it is renewed without manual steps. Check what happens when the token expires or is revoked while the protected cluster is running, and whether a restart then fails to unseal. Plan the policy for the token so it grants only the transit encrypt and decrypt operations on the unseal key. Write the renewal procedure before go-live.

Key rotation on the transit engine

Confirm how the source cluster rotates the transit key that wraps the protected cluster's root key, and whether older key versions remain usable for decryption after rotation. Check whether the protected cluster must be re-keyed or restarted after a rotation, and whether rotation is automatic or manual. Test a rotation in a staging pair before you schedule one in production. Keep the old key versions until you have confirmed that every node can still unseal.

Unseal latency across regions

Measure how long the transit unseal call takes when the two clusters sit in different regions, data centers or network zones. Compare the result with your restart and recovery targets, since every node calls the source during unseal. Include the time for a full cluster restart, when many nodes request unseal at once. Ask the vendor for any documented latency or concurrency guidance before you rely on a figure.

Source cluster hardening and audit

Confirm that the source cluster is protected at the same level as the workloads it unseals, because compromise of its transit key exposes the root key of the protected cluster. Check its own unseal method, its audit log destination, its access controls and its backup. Decide who administers each cluster and whether the two teams share responsibility for incidents. Document this ownership in the same runbook as the seal configuration.

Questions teams ask before auto-unsealing with transit

Does transit auto-unseal require a separate OpenBao cluster?

Yes, in practice. The transit seal uses the transit engine of another cluster to protect the root key of the cluster being unsealed, so that second cluster must be reachable every time the target starts, restarts or fails over. Many teams run the source cluster in a separate failure domain with its own storage and its own unseal method. Before you commit, confirm which OpenBao version your source and target clusters run, because the seal configuration and the supported storage choices depend on it. The source cluster becomes a shared dependency, so it needs the same operational standard as the cluster it protects.

Who does the work and what drives the effort?

The work is mostly engineering time. It covers building or confirming the source cluster, creating the transit key and a narrowly scoped token, changing the target configuration, testing restarts and writing a runbook. Your own platform team, or a partner under a written scope, can be paid for this time. Setup is one-time work, while token renewal, source cluster upgrades, monitoring and periodic failover tests recur. Effort rises with the number of target clusters, the number of network paths that must be approved and any requirement to migrate from Shamir keys. Ask any quote to list each of these items separately.

How long does a transit auto-unseal setup take?

The duration depends mainly on what already exists. A team with a hardened source cluster, a clear network path and an approved change window can move quickly. A team that must first build the source cluster, get firewall and DNS changes approved, or migrate an existing Shamir-sealed cluster will spend more time on planning and testing. Other drivers include the storage backend chosen for the source cluster, how many target clusters share it and how many failover scenarios must be rehearsed before production. No duration is supplied here, so ask for a schedule with named milestones and dependencies in the written scope.

Can our team set up transit auto-unseal alone?

Yes, if your engineers already run OpenBao or Vault in high availability and are comfortable with TLS, token policies and the storage backend they choose. Read the project's high availability documentation first, since it explains the active and standby behavior that the source cluster must keep up. The gaps teams most often miss are rehearsing a source outage, documenting who holds recovery material and agreeing on who responds when the source cluster is sealed. If any of those are unclear in your organization, an outside team can review the design or run the rehearsal under a fixed scope.

What do we need to provide before the work starts?

You need to provide four things. First, access: administrative or operator access to both clusters, or named operators who can act during the work. Second, network design: the subnets, ports, DNS names and certificate trust chain the target uses to reach the source. Third, an owner for the source cluster with authority over its unseal, backups, upgrades and access reviews. Fourth, a change calendar and a non-production environment where failover can be tested. Your team should also confirm who holds the recovery material for both clusters before any seal change is made.

What happens to the target cluster if the source cluster is down?

The target cluster cannot unseal while the source cluster is unavailable, sealed or unreachable. A running target usually keeps serving requests, but a restart, node replacement or failover on the target stalls until the source returns. For this reason the source cluster needs its own high availability, backups and monitoring, and the source's storage choice should be made with that in mind. Test the scenario explicitly: stop the source, restart a target node and confirm the expected behavior. Document the recovery steps, including who can restore the source and how the team will verify that the target has unsealed.

When should we choose a cloud KMS or HSM seal instead?

Choose a cloud KMS or HSM seal when a second OpenBao cluster would be harder to operate to the same standard than a dedicated key service, or when your policy requires key custody in a hardware module or an approved cloud provider. Transit suits organizations that already run a hardened source cluster and want key custody to stay inside their own infrastructure. Cloud KMS and HSM seals add a provider or hardware dependency instead of a second OpenBao dependency. Compare the options against your recovery requirements, audit expectations and team skills, and confirm the seal plugin support for your OpenBao version before deciding.

How DeployOpen scopes and delivers transit unseal

A transit seal ties the availability of one OpenBao cluster to another, so the work is as much about agreeing dependencies and recovery steps as it is about configuration. The cards below follow the engagement from written scope through failover testing, the runbook and ongoing support.

Written scope before any build

Before work starts, DeployOpen and your team agree in writing which OpenBao clusters are involved, which one is the source of unseal keys, which transit key names and mount paths are used, and which environments are covered. The scope also states what is excluded, such as the source cluster's own hardening or its storage backend. A fixed-scope agreement makes it clear who owns each dependency before any change touches a production node.

Source cluster dependency mapping

The source cluster must be reachable and unsealed every time the target cluster starts or restarts. We map which network paths, DNS names, TLS certificates and tokens the target nodes need to reach the source, and who operates each one. Ask your team to confirm the source cluster's own seal and availability design, because its failure becomes a startup failure for every dependent cluster.

Recovery procedures agreed with you

We write down what happens when the source cluster is sealed, unavailable or has lost the transit key, including who can authorize a change and how the target cluster is brought back. Recovery steps are reviewed with your security, platform and on-call teams so that the people who respond at 2 a.m. have the same plan. Confirm where the recovery keys and any Shamir fallback material are stored and who can access them.

Restart and failover testing

We test restarts of single nodes, rolling restarts of the full target cluster, and simulated loss of the source cluster in a non-production environment first. Each test records whether nodes auto-unseal, how long the target stays unavailable and whether the active node changes as expected. Repeat the test after any change to tokens, transit key rotation or network routing, because those changes often break unseal only at the next restart.

Operations runbook handover

The runbook covers the seal configuration, the token and transit key settings, the startup order between clusters, verification commands and the recovery steps agreed earlier. It is written for the engineers who will run the system after the engagement, with the exact configuration keys and file names used in your environment. We walk your team through the runbook and a live restart so the handover is tested rather than assumed.

Retainer support for changes

Transit unseal changes over time through OpenBao upgrades, token renewals, key rotations and network changes, and each one can affect the next restart. A retainer covers reviewing those changes, re-running restart tests and updating the runbook. Ask any partner for the response expectations and the upgrade approach in writing, and confirm how the retainer interacts with the upgrade procedures for your OpenBao version.

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.