Sealable namespaces: tenant-held encryption keys in one OpenBao cluster
Sealable namespaces let each tenant in a shared OpenBao cluster hold its own encryption keys. A namespace created with sealing enabled gets keys separate from the global seal, and its tenant can seal and unseal it independently, without affecting other tenants or involving the platform operator. A platform team hosting several business units or customers in one cluster needs this when some of those tenants want their data unreadable to the operator, for example to meet a contractual promise or a regulator's expectation about who can decrypt their records. This is a key custody decision, not only an access control one. Ordinary namespace policies decide who may call the API, but the operator's root key can still decrypt data in a normal namespace. A sealable namespace changes who holds the key material.
The mechanics matter for the design. Sealing discards the namespace's in-memory keys, so its data stays inaccessible until the tenant unseals it. Locking, by contrast, only blocks requests at the API layer and leaves the keys in memory, so it does not protect data from the operator. The platform operator's root key cannot decrypt a sealed namespace's data. Child namespaces can inherit encryption from the nearest sealable parent or be sealable themselves, and data is encrypted once, so there is no extra performance penalty from the layering. Confirm with the OpenBao namespaces documentation how your chosen version handles the sealing options and the unseal ceremony for each tenant before you design around them.
The extra cost is operational. Each tenant takes on unseal ceremonies, key custody and recovery planning, and a lost unseal path means lost data. Before committing, ask who in each tenant will hold the unseal material, how it will be stored and rotated, what happens during an incident when the tenant is unavailable, and whether the operator's own runbooks still work for sealed namespaces. If a tenant does not need operator-blind encryption, a normal namespace with strict policies is usually simpler to run.
Sealing or locking: which control stops which party
Locking blocks requests to a namespace at the API layer. The namespace's keys stay in memory, so the protection is a gate on access rather than a change to the encryption itself. Anyone who can reach the gate through the normal request path is stopped, but the cryptographic material is still present in the running system. Use this framing when you are deciding whether a lock alone satisfies a requirement to stop access quickly.
- Scope of effect: requests to the namespace are refused while the lock is in place, which limits who can use the data through OpenBao.
- Key state: the namespace's in-memory keys are not discarded, so they remain available to the running process.
- Operator reach: locking does not remove the platform operator's ability to decrypt data, because the keys are still held by the cluster.
- Reversal: the control is a request-level state, so it does not require the tenant to re-supply key material to resume.
- Limits: a lock does not protect data from a party with access to the running cluster's memory or storage path.
Before relying on locking for a tenant's compliance or custody goal, confirm with your own threat model whether key presence in the running cluster is acceptable.
Sealing discards a sealable namespace's in-memory keys, so its data is inaccessible until the namespace is unsealed. The namespace was created with sealing enabled and has its own encryption keys, separate from the global seal. Because the tenant can seal and unseal it independently, the control moves custody of the namespace's decryption capability toward the tenant rather than the platform.
- Key removal: sealing discards the namespace's in-memory keys, so the data cannot be decrypted while sealed.
- Independent control: the tenant can seal and unseal the namespace without affecting other tenants.
- No platform involvement: unsealing does not require the platform operator to take part in the action.
- Root key boundary: the platform operator's root key cannot decrypt a sealed namespace's data.
- Scope: the protection covers the sealed namespace's data at rest in the cluster, not every copy that may exist elsewhere.
Confirm the tenant's unseal procedure and who holds its material before you claim this separation to an auditor.
Each control answers a different question about who is in control. Locking is an administrative state that can be set and cleared through the API, so it sits within the operator's reach. Sealing is designed so the tenant holds the decision, and the operator's root key is not a path to the data while the namespace is sealed. Map these roles explicitly in your design, because the answer depends on how the tenant's unseal material is issued and stored.
- Platform operator: can manage the cluster and may lock a namespace, but cannot decrypt a sealed namespace with the root key.
- Tenant: can seal and unseal its own sealable namespace without involving the platform operator.
- Other tenants: are not affected by one tenant sealing or unsealing its namespace.
- Auditors: need evidence of who triggered each seal or unseal event, which depends on your audit device configuration.
- Holders of unseal material: whoever can complete an unseal has the decryption capability, so this group needs the tightest control.
Confirm in your environment who holds unseal material and how it is recorded before finalizing the role map.
The threats differ. Locking is suited to stopping ongoing access through OpenBao's API during an incident, while sealing addresses concerns about the operator or cluster-level party reading a tenant's data. Neither control replaces access policy, audit logging or protection of the host and its storage. Choose the control by the party you need to exclude, not by which one sounds stronger.
- Against unauthorized API use: a lock can quickly refuse requests to a namespace during an incident.
- Against platform-level decryption: sealing removes the namespace's keys from memory, so the operator's root key cannot read the data while sealed.
- Against host compromise: neither control prevents a party who controls the running process or its memory from accessing keys while the namespace is unsealed.
- Against data loss: sealing does not back up keys, so tenant-held material must be recoverable under your own process.
- Against legal demands: sealing alone does not resolve jurisdictional exposure for the operator, which requires separate assessment.
State in your design document which threat each control addresses and which remain open.
In practice, the choice is about the custody question you must answer. If the requirement is to stop a party from using a tenant's data through normal requests, locking may fit. If the requirement is that the tenant alone controls whether the data can be decrypted by the cluster, sealing is the relevant control. Many designs use both, with locking for fast operational response and sealing for custody. The extra work of sealing is in key ceremonies and recovery, so decide that trade-off with the tenant first.
- Use locking when: you need a fast, reversible stop on API access and the cluster's key custody is acceptable.
- Use sealing when: the tenant must hold the ability to make its data unreadable to the platform.
- Plan for both when: incident response and custody goals differ across tenants.
- Account for ceremonies: each unseal depends on people and material, which adds operational steps.
- Test recovery: verify that an authorized party can unseal before you depend on sealing in production.
Before you commit, confirm the unseal and recovery procedure with the tenant and your security team.
Which namespace configuration fits which tenant model
This table compares four ways to lay out tenants in one OpenBao cluster: a plain namespace, a sealable namespace with its own keys, a child that inherits encryption from its nearest sealable parent, and a sealable child. Read each row against your tenant's custody requirement, since the seal holder and the key ceremony burden change with the option you pick. Encryption happens once per data item in every option, so the documented design carries no added per-request performance penalty.
| Configuration | When it fits | Who holds the seal | Key-ceremony burden |
|---|---|---|---|
| Non-sealable namespace | Tenants that need logical isolation (policies, mounts, delegated admin) but accept the platform operator controlling encryption keys | The platform operator, through the cluster's global seal | None beyond the cluster's own unseal process |
| Sealable namespace with its own keys | A tenant that must be able to seal and unseal its data without involving the platform operator | The tenant, who can seal and unseal independently of other tenants | Tenant performs unseal ceremonies; operator must plan how the tenant regains access after a seal event |
| Child of a sealable parent (inherits keys) | Sub-teams or business units inside one tenant that should share that tenant's custody boundary | The nearest sealable parent's holder | Shared with the parent; no separate seal for the child to manage |
| Sealable child namespace | A sub-unit that needs its own custody boundary inside a larger tenant | The child's own administrators, separate from the parent's | Highest: each sealable child adds its own unseal ceremony to plan, test and document |
| Choosing for regulated tenants | Confirm with the tenant's compliance team which custody model their assessors expect before design starts | Record the seal holder in your key custody documentation | Ask for the unseal runbook and a tested recovery path as deliverables |
How child namespaces inherit or own their keys
A child namespace under a sealable parent either borrows its nearest sealable parent's keys or becomes sealable itself. That choice decides who can seal what, and what a parent seal takes down with it. The cards below cover the decisions and checks that follow from that choice before you map tenants onto a namespace tree.
Inheriting from the nearest sealable parent
A child namespace that is not sealable is encrypted with the keys of its nearest sealable ancestor. The tenant that owns the parent controls the seal for the whole subtree, so one unseal action covers the parent and its inherited children. This suits a tenant that wants one key boundary for many teams. Check that the parent tenant is the party you intend to hold custody, because it can seal every descendant without involving the platform operator.
Sealable namespaces docsMaking a child sealable
A child namespace created with sealing enabled gets its own keys, separate from the parent's. Its seal can be operated independently, so a team inside a tenant can be isolated without giving the parent's administrators a route to its data. Decide which child needs an independent boundary before you create it, because the choice governs which key ceremonies apply to that child and whether its data survives a parent seal.
Sealable namespaces docsPer-customer child seals
An illustrative pattern: a platform team hosts several customers in child namespaces under one shared parent, and makes each customer namespace sealable. Each customer can then seal its own data during an incident or contract exit without affecting the others. Confirm with the customer who holds the unseal material and how it is delivered, since the platform operator is not meant to be able to decrypt a sealed namespace.
What a parent seal does to children
Sealing a parent discards its in-memory keys, and any child that inherits from it becomes inaccessible until the parent is unsealed. A sealable child with its own keys is not covered by the parent's keys in the same way, so its data stays protected by its own seal state. Map every inheriting child before you plan a parent seal, and rehearse the unseal path so a planned seal does not take an unexpected team offline.
Nested team isolation within a tenant
An illustrative example: a bank runs a tenant for its payments group with child namespaces for card, settlement and reporting teams. Making only the settlement team sealable gives it a key boundary while card and reporting inherit from the parent. Review which teams need that boundary and which only need policy separation, because every additional sealable namespace adds a seal and unseal procedure to operate.
Verifying the key tree before go-live
Before production, record the namespace tree, which nodes are sealable, and which parent each inheriting child resolves to. Test a seal and unseal on a non-production copy and confirm that operator tokens cannot read a sealed subtree. Ask your team to confirm how OpenBao reports the key lineage of each namespace in the version you run, and document the result as part of your key custody evidence.
Setting up a tenant namespace with its own seal
This sequence takes a tenant from a version check to a sealable namespace with its own keys, a documented custody model and a proven unseal path. Each step ends with a check, so the team can confirm the tenant's data is protected before the namespace goes into service.
Confirm OpenBao version and namespace support
Check the OpenBao release you run, or plan to run, against the sealable namespaces documentation before design work starts. The platform team confirms the version in the project's release notes and tests the feature on a non-production cluster first. Record the version in the design document and confirm it is a supported release. The step is done when the team can state the version, and a test namespace with sealing enabled can be created and removed on that cluster.
Plan the namespace hierarchy and boundaries
Decide which tenants get a sealable namespace, which can be ordinary children, and where each sits in the tree. Child namespaces of a sealable parent are encrypted with the nearest sealable parent's keys, or can be sealable themselves, so the hierarchy determines who can seal which data. Map policies, delegated administrators and mounts to each level, and record who the platform operator is at each tier. The step is done when a hierarchy diagram and a policy table are signed off by the tenant and the platform owner.
Create the sealable namespace with sealing enabled
Create the tenant namespace with sealing turned on at creation, following the namespace creation steps in the current documentation for your version. Copy the exact parameters from the docs, and keep a record of the request and response. Then write a test secret into the namespace and confirm the tenant's token can read it. The step is done when the namespace exists, reports sealing as enabled, and holds a test secret the tenant can read before any sealing takes place.
Establish the tenant key ceremony and custody
Agree with the tenant how unseal material is generated, split, stored and used, and who attends each ceremony. Sealing discards the namespace's in-memory keys, and the platform operator's root key cannot decrypt a sealed namespace's data, so the tenant's custody model is the only route back to that data. Record custodians, storage location, access procedure and the logging of each ceremony in a shared runbook. The step is done when every custodian has confirmed their role in writing and a dry-run ceremony is recorded.
Verify sealing blocks reads and isolates tenants
Seal the test namespace, then confirm that reads of its data fail, including attempts made with the operator's root token. Confirm that a second tenant's namespace keeps serving requests throughout the test. Also confirm the difference between sealing and locking: a locked namespace only blocks API requests, while a sealed namespace has discarded its keys. Unseal it with the tenant's material and confirm the test secret returns. The step is done when results are logged for both tenants and the unseal path is proven.
Document and rehearse the recovery path
Write the recovery procedure for lost unseal material, a custodian leaving the role, a sealed tenant that must be restored, and an operator incident during a seal event. Include who authorizes each action, where material is kept, how the audit trail records the event, and how both parties are notified. Confirm with the audit device configuration that the logs will show these events. The step is done when a tabletop walkthrough is complete and both the tenant and the platform team have approved the runbook.
When tenant key custody justifies the extra key ceremonies
Tenant key custody is worth its ceremonies when the data is sensitive enough that the operator's ability to decrypt it is itself a risk. For a sealable namespace, the question is whether the tenant, not the platform team, should hold the power to make its data unreadable. That matters most where personal data may leave the EEA. Under GDPR Article 44, every transfer of personal data to a third country, including onward transfers, must meet Chapter V conditions, and infringements of Articles 44 to 49 carry fines of up to EUR 20 million or 4% of worldwide annual turnover under Article 83(5)(c). EDPB Guidelines 05/2021 treat remote access from a third country, even only displaying data for support, as a transfer. Counsel should assess whether a key the operator cannot use changes what a third-country request can compel, since EDPB Recommendations 01/2020 state that a technical measure cannot be effective where a provider must access data in the clear and the destination's powers exceed what is necessary and proportionate. Note that the CLOUD Act reach of US providers, under 18 U.S.C. 2713, applies regardless of where data is located, so the analysis depends on who operates the infrastructure, not only on where it sits.
Before adopting ceremonies, ask counsel and the data protection officer to confirm the transfer analysis for each tenant. Confirm whether any operator or support staff in a third country can reach the data, whether the Data Privacy Framework adequacy decision applies to your provider (Commission Implementing Decision (EU) 2023/1795 covers only organizations on the Data Privacy Framework List, and an appeal against the General Court's September 2025 judgment is pending as Case C-703/25 P), and whether the EDPB Recommendations 01/2020 apply to your supplementary measures. Map each tenant's key holder, unseal responsibility and recovery path in writing before the first namespace is created.
Ceremonies are not worth their cost in several common cases. Low-sensitivity data, where a loss or disclosure has little consequence, rarely justifies a tenant-run unseal process. Tenants that need operator-run recovery, such as a platform team restoring service after an outage or a tenant losing its unseal material, cannot have sealed data that only they can open unless the recovery plan is designed with them. Each seal and unseal adds a human step with its own staffing, runbook and audit trail, and that cost recurs for every tenant. Ask any partner quoting this work to separate the one-time design of key custody and recovery from the recurring operation of unseal ceremonies, and to state who is responsible for each.
Operational risks of tenant-held keys
Tenant-held keys move control of recovery out of the platform team's hands. The cards below cover the failure modes that follow from that shift: availability during a seal, lost unseal material, data the operator cannot recover, ceremony mistakes, seal event visibility, and who holds which administrative role. Each one needs an owner and a tested procedure before the first tenant seals a namespace.
Unavailability during tenant unseal delay
A sealed namespace discards its in-memory keys, so every request into its data fails until the tenant unseals it. If the tenant's on-call person is unreachable or the unseal procedure takes time, the tenant's applications stop reading and writing secrets and encrypted data for that period. Ask each tenant who can unseal, how quickly they can do it outside business hours, and whether their dependent services can tolerate that gap. Document the expected behavior of each dependent application during a seal.
Sealable namespaces docsLoss of unseal material
The tenant holds the material needed to bring its namespace back online, and the platform operator cannot reconstruct it. If that material is lost, deleted or left with a departed employee, the namespace's data may be unrecoverable. Confirm how the tenant generates, stores and distributes its unseal material, how many holders are needed, and where backups of that material are kept under the tenant's own controls. Test a recovery from the stored material before go-live.
Limited operator recovery of tenant data
The platform operator's root key cannot decrypt a sealed namespace's data, which protects the tenant from the operator but removes the operator's ability to help in an emergency. A platform incident, a misconfigured policy or an upgrade fault cannot be fixed by the operator reading the data. Agree in writing which recovery actions the operator may take, which the tenant must perform, and how the two sides will coordinate during an incident.
Key ceremony errors
Creating a sealable namespace, generating keys and performing seal or unseal steps are manual ceremonies, and a wrong step can lock out a tenant or leave a namespace in an unexpected state. Errors are most likely during the first ceremony and during staff turnover. Write a step-by-step runbook, rehearse it in a non-production cluster, and require a second person to check each step. Record who performed each ceremony and when.
Audit and monitoring of seal events
Seal and unseal operations change whether a tenant's data can be read, so they need to appear in audit logs and in alerting. Without monitoring, a namespace can stay sealed for longer than intended, and no one on the platform side notices. Confirm that seal and unseal events reach your audit devices, that the events are forwarded to your monitoring system, and that someone is notified when a namespace stays sealed beyond an agreed window. Check the exact event names against your OpenBao version.
Separation of tenant and operator roles
Tenant administrators and platform operators need distinct permissions so that neither side can quietly change the other's controls. If the operator keeps broad administrative rights inside a tenant's namespace, the tenant's custody claim is weakened. If the tenant can change platform-level settings, the operator loses the ability to run the cluster safely. Map each role to explicit policies, review them with both parties, and test that each side cannot perform the other's actions.
Questions teams ask before tenant key custody
What drives the cost of tenant-held keys in OpenBao?
The cost depends mostly on how many tenants need sealable namespaces, how many sealed namespaces each tenant creates, and how much the design has to match your existing identity, audit and backup setup. Each of these changes the amount of design, configuration and testing work. Part of the spend is one-time (architecture, policy design, runbooks and testing). Part recurs (key ceremonies, tenant onboarding, reviews and upgrades). DeployOpen works from a written scope, so ask for a quote that separates the one-time build from any retainer for ongoing support, and ask which tenant onboarding steps the quote includes.
How long does a sealable namespace design and rollout take?
The timeline depends on scope rather than on a fixed template. The main drivers are the number of tenants, whether each tenant needs its own child namespaces, how the tenants will hold their unseal material, the state of the current OpenBao cluster, and how much approval the change needs from security and compliance teams. A pilot with one tenant usually runs on a different schedule than a rollout to many. Engagements are fixed-scope, so the agreed deliverables and timeline are written down before work starts. Ask for the timeline to be tied to named milestones such as design sign-off, a test tenant, and production cutover.
What does the work need from our team?
Your team needs to provide decisions and access as much as technical time. Expect to supply the tenant list and each tenant's key custody expectations, the identity provider and group model that will control who can seal and unseal, the audit and logging targets, and the backup and disaster recovery requirements. Your security and compliance leads should approve how unseal material is handed to each tenant and where it is stored. Someone on your platform team needs to own the cluster, its upgrades and its change windows. Confirm these owners early, because most delays come from unresolved custody decisions rather than from configuration work.
Can our own team set up sealable namespaces without outside help?
A team with experience running OpenBao can set up sealable namespaces in a lab, and the OpenBao documentation describes the namespace and seal behavior. The harder part is the operating model: defining who holds which unseal material, how a tenant performs seal and unseal events safely, how recovery is tested, and how the design fits audit and compliance evidence. If your team has not run key ceremonies before, consider an outside review of the design before production. DeployOpen plans, implements, hardens, documents and supports self-hosted platforms in your infrastructure, so an engagement can cover any part of this work. Decide the split based on the skills you have in-house.
What happens if a tenant loses its unseal material?
The answer depends on how the tenant holds its unseal material and what recovery paths you design, so confirm this before go-live. According to the OpenBao documentation, a sealed namespace's keys exist only in memory until it is unsealed, and the platform operator's root key cannot decrypt that namespace's data. That is the property that gives the tenant control, and it also means the operator cannot simply restore access on the tenant's behalf. Plan for this case in writing: how many custodians hold material, how it is split and stored, how a replacement is authorized, and how the tenant tests recovery. Ask your implementation partner to walk through each failure scenario with your team.
Can the platform operator still read data in a sealed tenant namespace?
No. According to the OpenBao sealable namespaces documentation, a namespace created with sealing enabled has its own encryption keys, separate from the global seal. Sealing discards that namespace's in-memory keys, so its data stays inaccessible until the tenant unseals it. The platform operator's root key cannot decrypt the sealed namespace's data. Locking is different: it only blocks requests at the API layer, so it does not protect data from someone who holds lower-level access. Before relying on this for a compliance claim, have your security team verify the behavior in a test cluster and record the evidence, since independent auditors make their own assessment.
Does tenant key custody slow down secret requests?
The OpenBao sealable namespaces documentation states that child namespaces are encrypted with the nearest sealable parent's keys, or can be sealable themselves, and that data is encrypted exactly once, so there is no extra performance penalty from the nesting. Performance in practice still depends on the rest of the cluster: storage backend, cluster sizing, the number of requests per tenant and the load from dynamic credentials. Ask for a load test that uses your actual secret volumes and request patterns, and include a seal and unseal cycle in the test so you can see how operations behave during a tenant event.
Do sealable namespaces replace separate OpenBao clusters?
Not always. Sealable namespaces give each tenant its own encryption keys inside one cluster, and the tenant can seal and unseal its namespace without involving the platform operator. A separate cluster gives each tenant its own process, storage, upgrade cycle and failure domain. Choose sealable namespaces when tenants share an operational team and need strong key separation at lower operating cost. Choose separate clusters when a tenant needs its own upgrade schedule, network isolation, storage location, or a fault boundary that a shared cluster cannot provide. Many organizations use both, so write down which tenants fall into each group before you design the platform.
How seal boundaries sit inside one cluster
The diagram starts with the platform operator, who unseals the cluster through the global seal and root key. That seal protects the non-sealable namespace, whose data goes straight to encrypted storage. The tenant operator sits in a separate trust zone and can seal or unseal the sealable tenant namespace, which holds its own keys. A child namespace takes its keys from that sealable parent, so its data is encrypted once. Check the blocked edge: while the tenant namespace is sealed, the platform operator has no path to its data.
Tenant seal actions stay inside the tenant trust zone, separate from the platform root key.
How DeployOpen scopes and delivers tenant key custody
DeployOpen plans and implements OpenBao inside your own infrastructure, whether that is your cloud accounts, your data centers or an isolated network. Sealable namespaces only protect you if the surrounding design matches your obligations, so the engagement starts with a written scope that names the tenants that will hold their own keys, the sealing and unsealing roles for each, the storage backend and high availability layout, and how the cluster's root key is protected. Deliverables and timelines are agreed in writing before work starts. Quotes follow from that written scope, so the scope is where cost is decided. Ask for the scope to state which namespaces are sealable, which are child namespaces that inherit a sealable parent's keys, and which systems are out of scope, such as applications that still call the platform operator's root token.
Key custody is a process as much as a configuration. DeployOpen documents the key ceremonies and recovery procedures your teams will run, including who holds unseal material for each tenant, how a tenant seals and unseals its namespace without involving the platform operator, what happens when a tenant loses its material, and how the platform team confirms that the operator's root key cannot decrypt a sealed namespace. Ask for these runbooks to be tested with your own staff, because a recovery procedure that has never been rehearsed is a common cause of data loss.
Once the cluster is live, ongoing work usually includes OpenBao version upgrades, changes to tenant namespaces, rehearsed recovery and periodic review of ceremony records. DeployOpen offers retainers for ongoing support and upgrades, and these can be scoped to match how often your tenants change. Confirm with the vendor and your own environment which OpenBao release line you will run and how upgrades will be tested before they reach production. DeployOpen does not issue audit reports or certifications. Where you need evidence for a compliance assessment, DeployOpen prepares the configuration, procedures and records that an independent auditor will review.

