OpenBao threat model: what it protects and what it leaves to you

OpenBao protects secrets from eavesdropping and from anyone who reads its storage, but storage control, identity providers, operators and hosts remain your responsibility. This page maps which is which.

On this page

What OpenBao's threat model covers before you plan controls

OpenBao encrypts secrets before they are written to storage, and that is the first control it gives you against an attacker who can read the storage backend or the traffic between clients and the server. Everything around that boundary stays with your team: the hosts that run the server, the network paths, the storage administrators, the identity providers that vouch for users and machines, and the people who hold unseal material. OpenBao is an open source, community-driven secrets manager and fork of Vault, licensed under MPL-2.0 and led by a community under open-governance principles. It is a Sandbox project of the Open Source Security Foundation (OpenSSF) under Linux Foundation stewardship, which means it is at an early stage of the OpenSSF maturity process. Review its governance and release record before you depend on it. What is OpenBao describes the core feature set.

Read the threat model against your deployment. The documented feature set, including encrypted key/value storage, dynamic secrets for systems such as Kubernetes and SQL databases, encryption as a service, leasing with automatic revocation and bulk revocation, describes what OpenBao does with a secret once it is inside. It does not describe how exposed the path to that secret is. The same server behaves differently depending on its storage backend, whether it runs in high availability, which auth methods you enable and which listeners are reachable from where. Those choices are yours, so each one changes which risks you must cover yourself. Confirm with the project documentation which storage backend fits your recovery and operations model before you write the threat model for your environment.

Which risks OpenBao's design defends against

OpenBao's design addresses a small set of risks: secrets read from storage, traffic intercepted in transit, credentials that never expire, and data exposed to applications that hold keys. Each protection has a limit that depends on how you configure and operate the cluster, so the cards below pair each risk with what you still need to check.

Secrets read from storage

OpenBao encrypts key/value secrets before it writes them to the storage backend, so someone who copies the data directory or database tables does not get plaintext secrets from storage alone. Storage still holds ciphertext, key paths and metadata. Keep unseal and recovery material outside the storage backend, and limit who can reach the backend, because storage administrators can still delete, copy or roll back data.

What is OpenBao

Eavesdropping on client traffic

Clients, automation and cluster peers reach OpenBao over network listeners. If that traffic is not encrypted, anyone on the path could capture tokens or secret responses. Protection depends on the TLS you configure on each listener, including certificates, protocol settings and client trust. Confirm the TLS settings for every listener, then test that clients reject an untrusted certificate before go-live.

Unbounded secret lifetime

A credential that never expires keeps working long after the system that needed it is gone. OpenBao attaches leases to issued secrets and revokes them automatically when the lease ends, so access ends on a set schedule. Check the default and maximum lease durations on each secrets engine and role, because they set how long a leaked credential stays usable.

Exposure through encryption as a service

OpenBao's encryption as a service lets applications send data to OpenBao to be encrypted or decrypted, so the application does not hold the key material. This narrows who can read protected data, but the policies attached to each key and workload decide who can call encrypt and decrypt. Review key ownership and check whether decrypt rights are broader than each application needs.

Revoking access after an incident

When a token, role or set of credentials is suspected of compromise, OpenBao can revoke leases in bulk, cutting access across many secrets in one operation. Your part is the runbook: who can trigger revocation, how you identify affected leases and how applications recover once their credentials are gone. Revocation stops future use but does not show what a stolen secret was used for, so plan audit log review alongside it.

Where the trust boundary sits for each storage backend

Integrated storage keeps OpenBao's data on the OpenBao nodes themselves, replicated between cluster members. The storage layer holds only data that OpenBao has already encrypted, so a person who can read the Raft data directory sees encrypted entries and cluster layout, but cannot read secret values without the barrier key. That key exists in memory only while OpenBao is unsealed. HA coordination runs over the same cluster: one active node holds leadership, and standbys forward or redirect requests, so membership and leadership traffic reveal which nodes belong to the cluster.

  • Storage operator access: Whoever administers the node hosts can copy Raft data, logs and snapshots. They can read ciphertext and metadata, and they can destroy or roll back data.
  • Peer trust: Raft peers replicate the full dataset, so an unauthorized node joining the cluster is a serious exposure. Confirm how peer joins are authorized and protected.
  • HA exposure: Cluster communication should sit on isolated networks, because membership and leadership information is visible to anyone who can reach the cluster port.
  • Operating guidance: The HA documentation lists Raft as an officially supported HA backend. Plan snapshots, node replacement and quorum loss as day-two procedures before go-live.
  • Standby reads: Since 2.5.0, Raft standbys can serve read-only operations, so standby nodes also need the same network and host protections as the active node.

Confirm with your storage team how snapshots are taken, where they are kept, who can restore them and how access to those copies is logged in your environment.

How trust boundaries separate OpenBao from the systems around it

The diagram starts with clients and applications authenticating through an identity provider, then passes requests to the active OpenBao node. Standby nodes sit behind the same cluster, and the storage backend holds only data that OpenBao has encrypted before writing. Unseal and key custody and the audit destination sit outside OpenBao's boundary, so your operators and hosts own them. Check each hand-off against your own controls before you assign ownership.

Trust boundaries between OpenBao, your identity provider, storage, key custody and audit.

Which risks stay with your team: storage control, identity and hosts

The threat model for OpenBao is built around a clear division of labor. OpenBao protects secrets from eavesdropping on the wire and from someone who reads the storage backend without the keys, because values are encrypted before they are written to storage. It does not protect against a party that controls the storage backend itself. Whoever can stop, replace, roll back or copy the data store, including its snapshots and backups, can destroy or reshape what OpenBao holds, and your team must govern that access. Restrict who can administer the Raft or PostgreSQL layer, log those actions, and treat storage snapshots as sensitive material that needs the same access control as the cluster.

Identity is the second boundary that stays with you. OpenBao decides whether a login is valid by checking the auth method you enabled, such as JWT/OIDC, LDAP, Kerberos or Kubernetes. If your identity provider is compromised and issues valid logins or tokens, OpenBao will accept them, because from its point of view they are correct. Plan for this by limiting which groups and claims map to which policies, keeping token lifetimes short, requiring login MFA where your auth methods support it, and monitoring unusual logins in your identity provider as well as in OpenBao's audit log. Confirm the exact claim and group behavior of each auth method you use before you rely on it.

The third and fourth risks are the hosts and the people holding key material. Compromised hosts or hypervisors running OpenBao can read process memory and disk, and the cluster's unsealed state lives in memory while it runs, so host hardening, patching, access control and virtualization security belong to your infrastructure team. Operators who hold unseal or recovery keys can, between them, bring the cluster to an unsealed state, which is why key custody, separation of duties and the rekey procedures in the sibling topics are your decisions. The reason the threat model assigns these risks to the deploying organization is practical: OpenBao only sees what reaches it, and the storage, identity, hosts and people sit outside its trust boundary. Review the OpenBao security documentation for the exact boundary before finalizing your control map.

Which control covers each residual risk

Who can unseal the cluster, and what if a key holder is compromised?

Key custody decides who can bring the cluster up, so design it deliberately. Name the people who hold unseal and recovery key shares, store the shares apart from each other, and record every ceremony. Keep the two operations distinct: rotating the barrier encryption key with bao operator rotate is not the same as rekeying unseal or recovery keys, and the rotation topic explains when each applies. Root token generation and the rekey endpoints are separate paths to high privilege, so review them with the root token and rekey hardening topic. If a share holder leaves or a share may be exposed, plan a rekey and confirm the steps for your version before an incident. Auto-unseal through a cloud KMS or HSM moves part of custody to a system you control, and the unseal and key management topic covers those trade-offs.

What happens if our identity provider is compromised?

A compromised identity provider can issue logins that OpenBao accepts as legitimate, so treat the IdP as part of the OpenBao trust boundary. Controls sit in three places: harden the IdP itself, limit what each auth method can grant through least-privilege policies and identity group mapping, and require login MFA where the method supports it. Lockout after repeated failed logins slows password guessing, but it does not stop a session or token that a stolen IdP already issued. Short token lifetimes, narrow policies for machine roles and regular review of unusual logins reduce the blast radius. Stolen AppRole secret IDs create the same exposure in another form, so response wrapping for secret zero matters here too. Related topics: least-privilege policies, user lockout, and secret zero delivery.

Do metrics endpoints or audit devices leak secrets?

Exposure depends on what you enable and where it listens, so verify it on your own cluster rather than assuming defaults are safe. Keep metrics off public listeners and scope them per listener with the metrics settings. Audit devices record requests and responses, so treat audit logs as sensitive data with their own access controls, retention rules and shipping path. Confirm in the OpenBao audit documentation which fields are hashed and which are not. Socket audit devices and audit devices created through the API need tight control, because a change there can quietly stop or redirect logging. Check who can enable or disable an audit device, where logs are sent and who can read them. The related topic on restricting metrics and audit device exposure covers the settings in detail.

How do we protect the storage backend from compromise?

OpenBao encrypts secrets before they are written to storage, so the backend holds ciphertext. The backend still controls availability, backups and the lock used for active-node election, so an attacker who can delete, roll back or corrupt it can cause an outage or data loss. Protect it with network isolation, restricted administrative access, encrypted and access-controlled backups, and restore tests you have actually run. OpenBao documents integrated Raft storage and PostgreSQL as its supported HA backends, and the docs describe PostgreSQL as easier to operate safely than Raft. Base the choice on your team's operating skill and the database controls you already run. The high availability and storage topic covers the trade-offs in more depth.

What drives the cost of closing residual OpenBao risks?

Cost depends on which controls you need and who builds them, and this page does not supply a figure. The components are staff time for key custody procedures, identity hardening in your IdP, network and storage isolation, log retention and monitoring, and the recurring work of patching and access reviews. One-time work includes design, policy modeling, initial key ceremonies and a first restore test. Recurring work includes rekeying after staff changes, upgrades and reviewing audit logs. The number of auth methods, clusters, audit retention obligations and HSM or cloud KMS use all push effort up. Ask any provider for a fixed-scope quote with written deliverables that name the residual risk each one closes. DeployOpen plans and implements these controls in your infrastructure and prepares evidence for compliance assessments, but auditors and certification bodies issue the reports.

How do we keep OpenBao patched against security advisories?

Follow the project's GitHub security advisories and release notes, and set a patch process before you need one. The project released v2.7.0 on September 23, 2026, v2.7.1 on October 1, 2026, and v2.6.4 the same day for the previous minor line. Patch timing depends on the minor line you run and the project's support policy, so confirm both before you commit to a schedule. Treat each upgrade as a planned change with a current backup and a rollback path, because it replaces the server process on every node. The migration guide describes in-place replacement, but it was tested only against Vault 1.14.1 community edition, so confirm compatibility for your own version. The related topics on advisories and distroless images cover tracking and runtime changes.

How to build a threat model for your OpenBao deployment

This sequence turns OpenBao's documented security scope into a written threat model that names what your deployment protects, which trust sources it depends on, who holds the keys, and which residual risks you accept with a named owner for each control.

  1. Inventory secrets and their consumers

    List every secret class OpenBao will hold, such as static key/value data, database credentials issued through dynamic secrets, PKI material and encryption keys used through encryption as a service. For each class, record which applications, pipelines, people and hosts read it, how often, and what breaks if it leaks or is revoked. Owners are usually the platform team with input from application owners. The step is done when every secret class has a named consumer list and a blast-radius note. Check: confirm no consumer exists that you cannot name, since unnamed consumers usually mean an unmanaged credential path.

  2. Map auth methods and their trust sources

    For each login path, such as AppRole for servers, Userpass for developer machines, JWT/OIDC, Kubernetes, LDAP, TLS certificates or tokens, write down who issues the identity and which system can revoke it. OpenBao can only be as trustworthy as the identity source behind each method, so a compromised identity provider or directory is a risk you carry. Document the trust anchor, the signing or CA keys involved, and the process for disabling an identity. The step is done when each auth method has a trust-source entry. Check: confirm that each identity source (identity provider, directory, Kubernetes API, certificate authority) is operated by a team you control, and that you can disable a user or machine identity without relying on OpenBao alone.

  3. Draw the storage and HA layout

    Diagram the storage backend your deployment uses, whether integrated storage (Raft), PostgreSQL, PebbleDB or in-memory, along with node placement, the active and standby roles, and any load balancer in front. Mark every path that reaches stored data, including backup copies and database administrator access when PostgreSQL is the backend. OpenBao encrypts values before they reach storage, but control of the storage layer still matters for availability, deletion and rollback. The step is done when the diagram shows every network path to storage and every host that can read or replace it. Check: confirm that storage access is limited to OpenBao nodes and the people who administer them, and that backup destinations carry the same access restriction.

  4. List operators and key holders

    Name every person and system that can initialize, unseal, rekey, generate root tokens, or take snapshots and backups. Record who holds unseal or recovery key shares, how those shares are split and stored, and which accounts can change policies or auth configuration. Most incidents in this area come from over-broad administrative access rather than from cryptographic weakness. The step is done when each privileged action has a named role and a named set of holders. Check: confirm that no single person can both reach the storage layer and hold enough key material to unseal it, and that break-glass procedures are written down and tested.

  5. Decide which residual risks you accept

    Compare the controls you have planned against the risks the OpenBao security model covers and the risks it leaves to the deployer. Covered risks include eavesdropping on traffic and exposure of data at rest in storage. Out-of-scope risks include control of the storage backend, compromised identity providers, compromised hosts running OpenBao, and misuse by clients that hold valid tokens. Write each residual risk with its likelihood driver, impact, and the reason you accept or reduce it. Have the security lead and the risk owner sign the list. The step is done when every residual risk has a decision and a sign-off. Check: confirm the accepted-risk list is reviewed against the current OpenBao documentation before each major upgrade.

  6. Assign an owner to each control

    Turn the planned controls into a register with one owner per control, a description of how it is verified, and a review trigger. Typical controls include limiting root token use, restricting metrics and audit device exposure, lockout settings, rate limits, secret delivery methods, key rotation and tracking of security advisories. Ownership should follow who operates the control in practice, so the platform team, identity team and security team each hold their share. The step is done when every control has an owner and a verification method. Check: confirm that each owner has accepted the control in writing and that the register is stored where operators will see it.

  7. Validate the model against the running cluster

    Test the written model against the deployed environment. Attempt access from outside the intended network, confirm that storage cannot be read from non-OpenBao hosts, verify that auth methods reject identities outside the documented trust sources, and confirm that privileged actions require the expected holders. Record each result next to the register entry it supports. The step is done when every control in the register has a passing test result or a documented gap. Check: confirm the test evidence is dated and tied to a specific OpenBao version, so the model can be re-validated after upgrades.

Limits to confirm with the project and your environment

A threat model is only as good as the boundary it rests on. The items below are assumptions that teams often carry into a design without checking, and each one changes which controls you must build yourself. Confirm them against the documentation for the exact version you run and against your own environment.

The documented boundary for your version

Start by reading the security model that matches the release you deploy. The latest release supplied for this page is v2.7.1, released October 1, 2026, but your production line may be v2.6.x or another minor version. Note what the project says it defends against and what it expects the operator to protect, then record that wording in your design. Do not reuse a boundary description from a blog post or an older Vault document, since those may describe different behavior.

Read the docs

Seal choice and trust boundary

Whether you use Shamir keys, an HSM or a cloud KMS changes where the root key is protected and who can reach it. A cloud KMS seal moves part of your trust to the cloud account, its IAM policies and its operators. Confirm with the project how each seal type is documented, and map who can administer the KMS key, the cloud account and the OpenBao host, since any of them may be enough to decrypt the barrier.

Namespaces are not a hard boundary

Namespaces separate tenants within one cluster, but they run on the same server, storage and encryption barrier. A compromise of the cluster, its root token or its storage affects every namespace. Ask the project whether namespaces are documented as a security isolation control for your use case, and if not, decide whether tenants that must be isolated need separate clusters, separate storage and separate unseal ceremonies.

Migration testing scope

The migration guide describes in-place replacement of the Vault server process, but states it was tested only against Vault 1.14.1 community edition, not Vault Enterprise. If you run a different Vault version or an Enterprise feature, the replacement path is not validated for your case. Ask the project and your own test environment to confirm behavior before you plan a cutover, and keep a rollback path until you have verified it.

Coverage of your auth methods

The threat model addresses the protections OpenBao offers around logins, but each auth method depends on the security of its external source. Tokens, AppRole, JWT/OIDC, LDAP, Kerberos and TLS certificates each trust a different identity source, and a compromised identity provider or directory can issue valid logins. Check whether the documented model covers each method you plan to enable, and list which identity systems you must harden yourself.

Auth methods docs

Questions teams ask about the OpenBao threat model

Do we need an internal threat model before adopting OpenBao?

Yes, you need a documented view of your own threats before you finalize the design, even though OpenBao is not a threat model you can adopt as-is. OpenBao defines what its own software protects against, such as eavesdropping on traffic and attackers who gain read access to storage. It does not decide who your identity providers are, who holds unseal or recovery keys, how your storage backend is operated, or which workloads may request which secrets. Those choices belong to your organization, and they are where most real exposure sits. A short internal exercise that maps assets, trust boundaries and operators is usually enough to start, and it gives your security team something to test controls against.

How long does an OpenBao threat model review take, and what drives the length?

The length depends on how many decisions are still open when the review starts. The main drivers are the number of auth methods you plan to enable, whether you use integrated storage (Raft) or PostgreSQL, how many secrets engines and namespaces are in scope, and how many teams and environments share the cluster. A single-team deployment with one auth method and a documented storage design is quick to review. A multi-tenant platform with human and machine logins, cloud and Kubernetes integrations, and a regulated data scope takes considerably longer because each boundary needs its own owner and evidence. Ask any partner to show how they break the review into workshops and which inputs they need before the first session. No duration is given here because the scope determines it.

What does the threat model ask of our internal team?

It asks for named people who can answer specific questions, not a large committee. Typically this includes identity owners who run the identity provider and decide how groups and claims map to OpenBao roles, storage operators who run the Raft or PostgreSQL backend and its backups, and key holders who hold unseal or recovery key shares and know the custody procedure. You also need an application owner for each consuming system and someone who can speak for audit logging and retention. Expect each of these people to spend focused time in workshops and to review draft decisions. If key holders or storage operators are not identified, the model will record assumptions instead of controls, and those assumptions should be tracked until someone owns them.

Can our own security team write the OpenBao threat model?

Yes, a capable internal security team can write it, provided it has access to the people listed above and a clear picture of the deployment. The OpenBao documentation explains the security model, the barrier that encrypts data before it reaches storage, and the operational features such as leases and audit devices. The harder part is applying that model to your environment: deciding who can reach each listener, which backups exist, and what happens when an identity provider is compromised. Teams that write it alone often miss operational boundaries, such as backup copies or admin access to the host. An external review can be useful as a second reader, and it is worth asking whether the partner tests the resulting controls afterward.

What cost drivers should we expect for a threat model engagement?

Cost follows the scope of the written engagement, and the main drivers are qualitative. More auth methods add more trust relationships to analyze. Storage design matters because a Raft cluster, a PostgreSQL backend and their backup paths each have different owners and failure modes. Compliance scope adds evidence requirements and extra review of controls. Multiple namespaces, cloud key stores or Kubernetes integrations also increase the number of boundaries. Costs are one-time for the model and its written findings, but controls you adopt from it will recur as operations work. When requesting a quote, ask for the scope list, the deliverables, the workshops with their expected attendees, the assumptions the partner will make, and what is excluded. DeployOpen provides a quote from written scope and does not publish a price list.

What does a partner's threat model scope typically include?

A typical scope covers the asset inventory (secrets, keys, tokens, audit logs and backups), trust boundaries between clients, the API listeners, the storage backend and the identity providers, and the operator roles that can unseal, recover or change policy. It also covers out-of-scope risks that you must control yourself, such as storage backend access, compromised identity providers and host administration. DeployOpen works in client infrastructure and can test the resulting controls, but it does not issue audit reports or certifications. Ask whether the scope includes a written list of assumptions, a set of controls mapped to each risk, and a plan for verifying those controls in your environment.

Which parts of OpenBao security are our responsibility and not the project's?

Several important parts remain with your organization. You control access to the storage backend, which holds encrypted data but whose administrators can still disrupt or copy it. You decide who holds unseal or recovery keys and how they are stored and rotated. Your identity provider decides who is authenticated, so a compromised provider can grant access that OpenBao cannot detect on its own. Host security, network placement of listeners, backup handling and the monitoring of audit logs also depend on your environment. Confirm each of these with your platform and identity owners before you rely on any control, and record the owner for each one in the threat model.

How DeployOpen scopes an OpenBao threat model review

DeployOpen scopes a threat model review in writing before any work starts, and the review runs inside your own infrastructure, against your own OpenBao deployment or the design you intend to build. The scope statement names the trust boundaries that matter to you: which clusters and namespaces are in view, where the storage backend lives and who administers it, which auth methods carry production workloads, which cloud accounts or data centers hold the nodes, and which identity provider is trusted for human logins. Without those boundaries, a model cannot separate what OpenBao defends from what your team must defend.

To prepare, the client team should gather the current or planned config.hcl files (with secrets removed), the chosen storage backend and its HA design, the list of auth methods and secrets engines in use, the seal configuration and who holds unseal or recovery keys, the audit devices and where their logs go, and a description of how applications and pipelines receive their first credentials. DeployOpen also needs the names of the people who would be asked about incidents, since open questions are often about ownership rather than technology. Confirm the exact OpenBao version you run before the review, because the project's OpenBao releases page shows that behavior changes between minor lines.

The deliverables are a written threat model covering assets, actors, trust boundaries and attack paths; a control mapping that ties each identified risk to the OpenBao setting, operational process or infrastructure control that addresses it; and a list of open questions that only you can answer. This is a readiness exercise. It does not produce an audit report, attestation or certification, and an independent auditor or certification body is still needed for any formal assessment. When the model shows gaps, DeployOpen can follow with hardening work on the cluster or with security testing against the deployed setup, and the follow-on scope is agreed separately in writing.

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.