How OpenBao auto-unseal with Azure Key Vault works for your team
An Azure Key Vault seal lets an OpenBao cluster restart without a person re-entering Shamir key shares, because the root key is protected by a key in Azure Key Vault and OpenBao asks Azure to decrypt it at startup. Teams in Azure, or on-premises teams with a reliable path to Azure, usually choose this over Shamir shares when they want unattended restarts after node reboots, patching or failover, and when their cloud governance already manages keys and identities centrally. Shamir shares remain the simpler choice when there is no cloud dependency you are willing to accept, and the other seals in this group (HSMs, KMIP, transit, static) trade cost and operational effort against control in different ways.
The important consequence is that the Azure identity and key permissions become part of the unseal path. If the managed identity or service principal loses its key permissions, if the key is disabled or deleted, or if the vault's network rules block the OpenBao nodes, the cluster cannot unseal after a restart even though it runs normally until then. Plan the Key Vault, the key, the identity and the network path as one dependency with its own owner, monitoring and recovery steps, and keep the recovery material documented and tested before the first production restart.
Confirm every detail that depends on the release you run before you commit to a design. The claims about explicit authentication methods and managed identity support in the 2.6 line must be checked against the Azure Key Vault seal documentation for your exact OpenBao version, including which identity types are supported, the required key operations, and how the seal configuration keys are named. Read the OpenBao releases page to confirm the version you plan to deploy and its seal-related changes, then test a restart of a non-production cluster before you rely on the seal.
How an OpenBao node reaches Azure Key Vault at startup
The node starts sealed, so it cannot read its root key until it asks the Azure Key Vault seal for help. It first obtains an identity from the configured authentication method, then calls the Azure Key Vault key, which is the only step that crosses from your cluster into the Azure tenant. On success the node receives the unwrapped root key and becomes unsealed. Before you rely on this path, confirm with Azure and the OpenBao seal documentation which identity methods your version supports, what happens during an Azure outage, and whether manual recovery keys remain available as a fallback.
Startup path from a sealed node to an unsealed node through Azure Key Vault.
Authentication options for the Azure Key Vault seal
This table compares the ways the Azure Key Vault seal can authenticate to Azure, from managed identities on Azure-hosted compute to explicit service principal credentials. Read each row against where your OpenBao nodes run and who may hold a credential that can use the unseal key. The main takeaway is that managed identity keeps a long-lived secret out of the seal path where your OpenBao version supports it, so confirm that support before you design around it.
| Option | Where it fits | What Azure requires | What to confirm |
|---|---|---|---|
| System-assigned managed identity | OpenBao nodes on Azure VMs or scale sets where the identity should follow the node lifecycle | System-assigned identity enabled on each VM or scale set, with key permissions granted to that identity | Seal release notes for your 2.6 or later version list managed identity support |
| User-assigned managed identity | Several nodes or scale sets that should share one identity and keep its permissions across rebuilds | A user-assigned identity created separately, attached to compute resources and granted key permissions | How the seal selects a specific identity when more than one is attached |
| Service principal with client secret | Hosts outside Azure-managed identity, or environments where managed identity is not available | App registration, a client secret with an expiry date, and key permissions for the app | Where the secret is stored, who can read it, and how rotation is handled without a seal outage |
| Service principal with certificate | Explicit credentials where the team prefers certificate rotation to secret rotation | App registration with a certificate uploaded, and key permissions for the app | Accepted certificate formats, file locations and file permissions in the seal documentation |
| Ambient or environment credentials | Hosts where the seal process reads credentials from its runtime environment | Credentials supplied to the OpenBao process at start, with key permissions for the identity | Order of precedence when more than one authentication method is configured |
| Workload identity federation | OpenBao running on Kubernetes in Azure, if your version and seal support federated tokens | Federated credential on the app registration, trusting the cluster token issuer | Whether the seal accepts federated tokens in your version before you choose this path |
Which OpenBao release to run before you rely on managed identity
Choose the OpenBao release line before you design the Azure side of the seal, because the authentication options the Azure Key Vault seal can use depend on the version you run. The supplied release facts place v2.7.0 on September 23, 2026 and v2.7.1 on October 1, 2026, with v2.6.4 released the same day for the previous minor line. A cluster on the 2.6 line and a cluster on the 2.7 line may not offer the same options for explicit credentials and managed identity, so write down the exact version you intend to standardize on before you request any Key Vault permissions.
Read the release notes on the OpenBao releases page for every version between your current build and your target. Look specifically for entries that describe when Azure authentication options were added, changed or deprecated, and for any change to how the seal reads its configuration or environment variables. Confirm with the OpenBao project, through its documentation or issue tracker, whether the managed identity path you plan to use is documented for your chosen version. Do not assume that a setting you saw in a newer example works on an older binary.
Test the chosen release in a non-production cluster that uses the same Key Vault type, network path and managed identity assignment as production. Run a full seal migration there, restart every node, and confirm that the cluster unseals without manual key shares after a reboot of each VM or pod. Record the exact image digest or package version so that the same artifact is promoted later. Only standardize on the release after this test passes, and plan a repeat test before each minor upgrade, since the seal code path is the part most likely to change between releases.
Setup sequence for the Azure Key Vault seal with managed identity
This sequence takes you from an empty Azure subscription to an OpenBao cluster that unseals itself from an Azure Key Vault key using a managed identity, with a restart test proving the result. Each step ends with a check so a failure is caught before the next step builds on it.
Choose the vault, region and key
Decide the Azure region and resource group that will hold the Key Vault, and confirm the OpenBao nodes will reach it over the network path you plan to use. Create or select the Key Vault and create a key intended only for sealing OpenBao, not for other workloads. Record the vault name, key name and key version handling in your runbook. Check: the key appears in the vault with the expected type and the vault network rules allow traffic from the OpenBao node subnets. Confirm exact key type and naming requirements in the current OpenBao Azure Key Vault seal documentation before creating it.
Create or assign the managed identity
Create a user-assigned managed identity, or choose a system-assigned identity on each node's compute resource, and attach it to every OpenBao VM or scale set member. Use one identity per cluster where your team can manage it consistently, so access reviews stay simple. Check: each node reports the identity when you query its instance metadata or resource properties, and the identity object ID is recorded against the cluster. Confirm the supported authentication options for the seal in the OpenBao seal documentation, including which identity types it accepts.
Grant the identity only seal permissions
Assign the identity a role or access policy that allows only the key operations the seal needs, typically wrapping and unwrapping the unseal key, rather than broader key or secret permissions. Scope the assignment to the single key or vault, not the subscription. Check: from a node, a test call using the identity can perform the permitted key operations, and an attempt to perform an operation outside the grant is denied. Take the exact role names and operation list from the current OpenBao documentation and verify them in Azure role definitions before assigning.
Add the seal stanza to each node
Edit the OpenBao configuration on every node to add the Azure Key Vault seal block, setting the vault name, key name, and any key version or identity settings the plugin requires. Use the same stanza on all nodes in the cluster and remove any conflicting legacy seal settings. Confirm the configuration keys against the current seal documentation for your OpenBao version, since names can change between releases. Check: the configuration validates on each node without parse errors before the service starts.
Initialize the cluster with the Azure seal
Start the first node and run the initialization command, which with an auto-unseal seal generates recovery keys rather than unseal shares. Store the recovery keys and any root token under your own custody process, split across the people who need them. Then bring the remaining nodes into the cluster and confirm they join without manual unseal. Check: the status output on every node reports initialized and unsealed, and the seal type reported matches the Azure Key Vault seal.
Verify auto-unseal by restarting one node
Restart the OpenBao service on one standby node, then on the active node in a controlled window, and watch the status until the node returns to unsealed without any operator action. Confirm the sealed state is only transient and that the cluster keeps serving requests throughout. Check: the restarted node unseals automatically, its logs show the seal reaching the Key Vault, and a test secret read and write succeed afterward. Record the observed result as evidence for your change record.
Record the dependency and access review
Document the Key Vault, key, identity and role assignments in your configuration inventory, along with who can change them. Add monitoring or alerts for failed seal operations and for changes to the key or its access policy. Schedule a periodic review of the identity's permissions against the documented minimum. Check: a reviewer can trace from each OpenBao node to its identity, the key, and the role grant without asking the platform team, and an alert fires in a test when the key is disabled or access is removed.
Security controls for the Azure Key Vault unseal path
The Key Vault key is the only thing standing between a restarted OpenBao node and its sealed data, so it needs controls that are stricter than a typical application secret. The six controls below cover who can use the key, who can change it, how it is watched, and how it is kept available when something goes wrong.
Scope the identity to one key
Grant the managed identity used by OpenBao only the key operations it needs on the single unseal key, such as get, wrap and unwrap, rather than a vault-wide or subscription-wide role. This limits what a compromised OpenBao node can do with the identity to unsealing its own cluster. Check the role assignment at the key scope, and confirm that no broader role was inherited from a resource group or subscription. Owner: the Azure platform team, with OpenBao operators reviewing the assignment.
Log and alert on key access
Turn on diagnostic logging for the Key Vault so every unwrap or key operation is recorded in a destination your security team reads, such as a Log Analytics workspace or SIEM. Alert on operations from unexpected identities, from new IP addresses, or at volumes far above a normal OpenBao restart pattern. Ask whether a node that stops unsealing is also reported, because a failed unseal is an early sign of a permissions or network problem. Owner: the security operations team.
Protect against deletion and purge
Enable soft delete and purge protection on the vault and the key so a deleted key can be recovered within the retention period and cannot be permanently purged before it. Without these settings, a single administrative mistake or a compromised administrator account can make every OpenBao cluster that depends on the key unable to start. Confirm the settings are applied in the infrastructure-as-code template, since they are difficult to change after creation. Owner: the Azure platform team.
Restrict network access to the vault
Limit the Key Vault firewall to the networks where OpenBao nodes run, using private endpoints or allowed virtual network subnets, and disable public network access where your design allows it. This reduces the chance that a leaked credential can be used from outside your environment. Test the path from each OpenBao node during the build, because a missing route will appear as a startup failure. Owner: the network team with the Azure platform team.
Separate Azure and OpenBao administration
Assign the people who administer the Azure subscription and Key Vault to different people from those who operate OpenBao, so that no single administrator can both change the key and read the secrets it protects. Azure administrators should not hold OpenBao root or unseal authority, and OpenBao operators should not be able to change Key Vault role assignments. Document the split in a responsibility matrix that both teams sign off. Owner: the CISO or security governance function.
Keep recovery material offline
Store the OpenBao recovery keys and root token outside the Azure tenant, in a controlled offline location with split custody, and never in the same Key Vault that holds the unseal key. If the Azure tenant is compromised or locked out, these items are the path back into the cluster. Test that the recovery procedure works with the offline material before going live. Owner: the OpenBao cluster owner, with custody agreed by security leadership.
Moving an existing Shamir-sealed cluster to Azure Key Vault
Changing the seal on a running OpenBao cluster is a separate procedure from initializing a new cluster with an Azure Key Vault seal, and the steps depend on the seal the cluster uses today and the OpenBao release you run. Do not assume that the initialization settings in the Azure section apply to an existing cluster. Before you touch production, read the seal migration steps in the OpenBao documentation for your exact source seal and target release, and confirm that the Azure Key Vault seal is supported as a migration target for that combination. Treat the documentation as the authority for the sequence of node restarts, the unseal material you need at each step and the point at which the old seal's keys stop being needed.
Plan the unseal material handling before the maintenance window opens. A move away from Shamir unseal generally requires the current unseal keys and, depending on the procedure, a rekey or recovery key step, so confirm which key material the procedure consumes and which it produces. Decide who holds the existing unseal shares during the change, how they are brought together in a controlled way, and where any new recovery keys will be stored and who can approve their use. The migration guide covers general background on Vault versions and why some older clusters need a rekey before they can move to OpenBao, which is useful context but does not replace the seal migration steps for your target.
Verify the Azure side before you start the change. The managed identity or service principal that OpenBao will use must hold the Key Vault permissions the seal needs on the target key, and the key must exist in the vault you intend to use. Test the access from a node that will run the change, confirm that a failed Azure call leaves the cluster in a state you can recover from, and keep a tested backup of the storage backend and the existing unseal material. Record the expected rollback path in writing so the change owner can act on it without reconstructing the procedure during an incident.
Limits to confirm in your Azure environment
Auto-unseal moves the root key's protection into Azure, so the questions that matter are about versions, availability, throughput, outages, identity revocation and tenant policy. Each card below names one item to verify before OpenBao depends on Azure Key Vault at restart.
Release that supports your auth method
Explicit authentication methods and managed identity support for the Azure Key Vault seal were added in OpenBao 2.6, so the minor line you deploy must include them. Confirm the exact release notes for the authentication method you plan to use, and check that the chosen version is the one you will pin and patch. If your team is on an older line, plan the upgrade before the seal change, not during it.
OpenBao releasesRegional dependency at restart
A node that restarts must reach the Key Vault endpoint in the region you configured before it can unseal. Confirm which Azure region hosts the vault, whether your nodes can reach it over the network paths you control, and how that interacts with your disaster recovery region. Document what happens to a restart during a regional incident.
Throughput and throttling at node count
Every unseal and seal operation calls the vault, so a large cluster restarting together can generate bursts of requests. Ask Microsoft for the current service limits for Key Vault operations in your subscription and region, and test a simultaneous restart of all nodes in a staging cluster. Watch for throttled responses and retry behavior before relying on the design in production.
Behavior during an Azure outage
If Key Vault is unavailable, nodes that have not yet unsealed cannot serve requests after a restart, while nodes already running typically keep their unsealed state until they restart. Write down which services depend on OpenBao at that point, how long your team can tolerate it, and who can run recovery steps. Rehearse the runbook in a non-production environment.
Blast radius of a revoked identity
If the managed identity or its role assignment on the key is removed, every node using it loses the ability to unseal at its next restart, and the key cannot be used by other paths you did not intend. Map which identities, resource groups and subscriptions can change role assignments on the key, and restrict those rights. Confirm how fast a revocation propagates and how you would restore access.
Tenant policy allows the identity and key permissions
Many Azure tenants use Azure Policy, conditional access or privileged identity management that restricts managed identity creation, key permissions or key rotation. Confirm with your Azure administrators that the identity can be assigned, that the key permissions required by the seal are allowed, and that key deletion protection and purge protection are enabled. Ask who approves changes to these policies.
Questions buyers ask about Azure Key Vault auto-unseal
What drives the cost of Azure Key Vault auto-unseal work?
The cost follows the scope you agree in writing. The main drivers are the number of OpenBao nodes and clusters, whether your Azure environment already has a suitable Key Vault and identity setup, how the OpenBao hosts reach the vault (private or public network paths), how many environments such as test, production and disaster recovery need the same setup, and how much evidence your auditors or assessors expect. One-time costs are design, configuration, restart and failure testing, and documentation. Recurring costs are Azure's own key and operation charges and the time your team spends on key rotation, access reviews and upgrades. Ask the quote to list design, Azure resources, OpenBao configuration, testing, documentation, handover and retest as separate lines, so you can see who is paid for each part.
How long does an Azure Key Vault auto-unseal setup take?
No duration is fixed for this work. It depends on the number of clusters, how much of the Azure environment already exists, and whether identity and network decisions are settled before configuration starts. Ask for a written timeline with milestones: Azure key and identity setup, a test cluster that restarts and unseals without operator input, a tested failure case where the vault is unreachable, the production rollout, and a closing review. Approvals for Azure role assignments and network changes often take longer than the configuration itself, so ask whether the timeline counts those waiting periods. Also ask whether the plan includes a rollback step and a separate window for moving existing clusters off Shamir unseal.
What does the work need from our Azure and security teams?
Several inputs must come from your own teams before configuration begins. Your Azure team needs to confirm subscription and resource group ownership, who may create and assign roles on the Key Vault, and how the OpenBao hosts will authenticate to Azure. Your network team needs to confirm routing and DNS to the vault. Your security team should approve the protection level for the key, the audit logging on the Key Vault, and the break-glass process used if Azure is unreachable. Someone must also own the key lifecycle, including rotation and periodic access reviews. Name an approver who can sign off production changes during the change window, and confirm these owners before the quote is final.
Can our team set up Azure Key Vault auto-unseal without outside help?
Yes, if your engineers are comfortable with OpenBao server configuration, Azure role-based access and restart testing, and have time to test failure cases in a non-production cluster. Many teams carry out the configuration in-house and still ask for an independent review of the Azure permissions and the restart behavior. Consider outside help when the cluster is production and recovery depends on the seal, when nobody has tested unseal after a node reboot, or when you need documented evidence for an assessment. If you bring in a partner, ask for the work to be split so your team keeps ownership of the runbook and the recovery steps after handover. DeployOpen plans and implements self-hosted platforms in your own infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
What does Azure charge for the key and its operations?
Azure bills Key Vault usage under its own pricing, which depends on the vault tier, the key type and the number of cryptographic operations, and that pricing can change. This page does not give figures. Confirm the current rates on Microsoft's Azure Key Vault pricing information for your region and the tier you plan to use before you size the budget. Check whether your key custody requirements call for a different tier, because the billing model can differ. Ask the quote to show Azure charges separately from DeployOpen's fees, so you can see which costs recur every month and which are one-time. Also ask your Azure team to set up cost alerts on the vault from the start.
What happens if Azure Key Vault is unavailable when OpenBao restarts?
A node that starts while it cannot reach the key vault cannot unseal automatically. It stays sealed and does not serve secrets until the vault is reachable again or an authorized recovery step is taken. Plan for this before production use. Decide how many nodes might restart during a regional outage, which recovery keys your configuration generates and who holds them, how monitoring alerts you to sealed nodes, and how clients behave while the cluster is sealed. Test the case in a non-production cluster by blocking access to the vault during a restart and record what happens. Confirm the exact recovery behavior for your OpenBao version in the project's documentation, and ask any partner to include this test in the written scope.
Does a managed identity remove the need for stored client secrets?
A managed identity can remove stored client secrets from the OpenBao host when that host runs on an Azure resource that supports managed identities. You still need to grant the identity only the key permissions it needs for wrapping and unwrapping, and nothing broader. Support for managed identities was added in OpenBao 2.6 according to the topic's supplied information, so confirm the exact options in the release notes for the version you plan to run before you design around them. If your hosts run outside Azure, the authentication method changes and must be confirmed separately. Check the OpenBao releases page when you choose the version for production.
How DeployOpen scopes and delivers Azure Key Vault auto-unseal
DeployOpen plans, implements, documents and supports OpenBao auto-unseal with Azure Key Vault and managed identities inside your own Azure subscriptions and network. The work starts with a written scope that names the vaults, keys, identities and cluster nodes involved, so your security and platform teams can review the design before any change is made.
How we scope
- Written scope names the Key Vault, key, managed identity type and OpenBao nodes covered by the engagement
- Scope records who approves role assignments, network rules and the key's protection and rotation settings
- Fixed-scope engagements agree deliverables and timelines in writing before any work starts, with a quote following from that scope
- Scope lists the test and recovery evidence you will receive, including how an unseal is verified after a restart
How we build
- Configure the Azure Key Vault seal and the identity used by each node, following the project's documented setup for the OpenBao version you run
- Grant the identity only the key operations the seal needs, and review those permissions with your cloud security team
- Test a rolling node restart and a full cluster restart to confirm nodes unseal without manual key entry
- Test the failure path by denying key access in a non-production copy and recording how the cluster reports and recovers
How we hand over
- Deliver the seal configuration, role assignments and network rules as versioned files your team can review and reproduce
- Document the recovery key and recovery procedure, including who can use them and where they are stored
- Provide a runbook covering key rotation, identity changes, Key Vault outages and the steps to rejoin a node
- Walk your operators through the restart, rekey and access revocation steps with the handover pack in hand
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the original work
- Retainers can cover OpenBao version upgrades and re-testing of the seal after changes to Azure networking or identity
- Confirm with Microsoft's current documentation which Azure networking and identity options apply to your tenant before the scope is signed
- Ask any partner for the support hours, response commitments and escalation path in the written retainer, not from a general statement

