How OpenBao control groups add a second approver before secret release
A security or compliance team that needs a second person to sign off before a high-value secret or certificate leaves OpenBao has a control problem that ordinary policy only partly solves. Policies decide who may call a path. They do not make a named colleague review a specific request first. OpenBao 2.7.0 added a control group policy stanza for this case, so a gated request can wait until designated approvers respond. Before you design around it, read the 2.7.x documentation for the stanza's exact fields, the requests it can gate, how many approvals it requires, and what happens when a request is not answered. The supplied project facts do not describe its configuration, so treat any field names or examples from other sources as unverified until you check them against OpenBao 2.7.x. The OpenBao releases page lists the 2.7 release notes as a starting point.
Use the stanza where one wrong release is costly and the release can be tied to a specific path, such as reading a production database credential or issuing a certificate for a signing identity. Routine reads that automation performs many times a day will create approval fatigue, where approvers click through requests without reading them, and that habit defeats the control. Map each candidate path to the risk it carries, the people who may authorize it, and the audit record that will prove the approval happened. Ask your auditors which of these events they expect to see and in what form. Their answer decides whether the stanza is enough on its own or whether you also need a separate workflow with its own evidence.
The part you build yourself is the notification. OpenBao does not send approvers a message when a request is waiting, so a pending approval can sit unseen until someone checks. Decide how approvers learn about a request: a chat or ticket message sent by your own tooling, or a scheduled check of pending approvals through the API. Confirm which endpoints list pending requests, which identities may read them, and whether an approver's token can see requests it did not start. Keep the notifier's credentials narrow, because a service that can both read requests and approve them would undo the separation the control exists to create. Test the full path from request to notification to approval to release in a non-production cluster before any production secret depends on it.
Following a gated request from requester to release
The flow starts when a client asks OpenBao for a gated secret or certificate. OpenBao holds the request in a control group inside the cluster, then passes an approver notice to a notification service the team builds, because OpenBao does not send notifications itself. That service sits outside the trust boundary, so approvals must be confirmed by the approver's response to OpenBao, not by the notification. Check that every hold, approval and denial is written to the audit device, and that the requester receives the value only after approval.
Gated request path, trust boundary and audit write point.
Which secret and certificate paths justify a control group
This table compares the kinds of secret and certificate paths a team might gate behind a second approver, using three criteria: the risk of one actor releasing the path, how often it is used, and whether an approval wait would block a real operational need. Read each row as a question to answer for your own paths, then decide which ones justify the approval step. Paths that are both high risk and rarely needed usually make the strongest candidates.
| Path type | Risk if one actor releases it | Usage frequency and approval delay impact |
|---|---|---|
| Production database credentials | High if a single person can obtain standing or long-lived access to customer data, though dynamic credentials reduce exposure | Often used during incidents; test whether a wait would stall recovery and whether a time-limited grant can cover it |
| Root or signing CA issuance | Very high, since a misissued intermediate or signing key can undermine trust across many systems | Usually infrequent; an approval step is typically tolerable and is often expected by assessors |
| Encryption key access (transit or key material) | High, because releasing key material can expose every dataset protected by it | Mostly used by applications through policy rather than by people; confirm whether humans ever need direct access |
| Break-glass secrets | Very high if misused, but the path exists for emergencies where a delay may itself be harmful | Rare; confirm the approval path works when approvers are unavailable and that an alternate approver exists |
| Routine application secrets read by workloads | Low to moderate for a single read, and usually scoped by policy already | Very frequent; an approval step on every read would block normal operation, so it is usually a poor fit |
| Developer test or sandbox credentials | Low, if the data behind them is non-sensitive and scoped | Frequent and self-service; a control group usually adds friction without reducing material risk |
| Certificates for internal services with short lifetimes | Moderate, depending on the scope of the names and the issuing policy | Frequent renewal; ask whether automated issuance policies can replace per-request approval |
How approval design changes by release situation
Scheduled production changes are the easiest case to design for because the request arrives with context. A change ticket, a planned window and a named engineer usually exist before the secret is requested. The approver's job is to confirm that the request matches the approved change, that the requester is the person assigned to it and that the release window is still open. Approval should be tied to the change record, not to a general feeling that the request looks reasonable.
- Match the request to the ticket: Require the approver to compare the secret path or certificate subject with the change identifier.
- Separate requester and approver: The approver should not be the engineer who will use the secret.
- Limit the window: Confirm how long the released value stays usable and whether the change window bounds it.
- Record the reason: Capture the change reference in the request so the audit trail links release to change.
- Check the approval options: Confirm in the 2.7.x docs which approver counts and waiting behavior the control group stanza supports.
Before go-live, test one scheduled release end to end, including a rejected request, and confirm the audit entries match the change record.
Emergency access is where dual approval is most likely to be bypassed in practice. An incident responder needs a credential now, and a control that blocks them at 2 a.m. will be worked around. Design the emergency path before it is needed. Decide which secrets qualify, who may approve, how the approver is reached out of hours and what evidence must be written afterward. An emergency path should still record an approval, even if it is faster or narrower than the standard one.
- Define the qualifying events: List the incident classes that allow an emergency request, rather than leaving it to the requester.
- Narrow the scope: Release read access or a short-lived credential, not standing administrative rights.
- Plan the after-action review: Require a post-incident review of every emergency release within a set period your policy defines.
- Plan the unavailable-approver case: Decide whether the request queues, escalates to a backup approver or fails closed, and document it.
- Notify approvers yourself: OpenBao does not send approver notifications, so the paging path for emergencies must be built and tested.
Before relying on the emergency path, run a tabletop exercise that includes an approver who does not respond.
Automated requests from CI/CD pipelines and deployment tools are not a person asking for a secret, so a human approver cannot judge them the same way. Design these requests so the approval attaches to a defined pipeline, branch and environment, and so the approver reviews the policy that allows the pipeline to ask, not each individual run. Where a machine identity cannot wait for a human, the design must decide whether the pipeline stops, uses a pre-approved path or is excluded from control groups for that secret.
- Approve the pipeline definition: Review the job, branch protection and environment that may request the secret.
- Avoid per-run human approval for routine jobs: Frequent runs will train approvers to click through, which removes the control.
- Keep high-value secrets human-gated: Reserve dual approval for secrets where a stolen pipeline token would cause material harm.
- Define the blocked state: Make sure a pipeline waiting on approval fails with a clear message rather than retrying indefinitely.
- Check the auth method: Confirm which auth methods the pipeline uses and that the control group applies to requests from them.
The design is sound only if a test pipeline run that needs approval behaves as documented, and a pipeline with no approver fails the way your runbook says.
Certificate issuance for services differs because the output is a long-lived trust artifact rather than a short-lived secret. A certificate for a public-facing service or an internal mutual TLS identity can affect many clients. The approver should check the subject names, the requested lifetime and the owning service before issuance. For routine renewals that follow an automated lifecycle, a human gate on every renewal may create outages, so the design should separate new issuance and changed subjects from routine renewal of an unchanged identity.
- Verify the identity: Check that requested names belong to the service owner and that no unexpected domain or wildcard is included.
- Check the lifetime: Confirm the requested validity against your issuance policy before approval.
- Separate new from renewal: Decide which renewals stay automated and which new subjects require dual approval.
- Plan the renewal path: An approval that expires before a renewal is due can cause an outage, so confirm how waiting requests behave near expiry.
- Coordinate with the PKI design: Issuance policies and roles in the PKI engine should match the approval rules, so one control does not contradict the other.
Before production use, issue one certificate through each path, including a rejected request and a renewal near expiry, and confirm the results in your audit logs.
Setting up OpenBao control groups for dual approval
This sequence gives you a sensitive path that returns no secret or certificate until a second, separate identity approves the request. Each step ends with a check you can run, and the final audit review confirms that every release traces to one request and one approver.
Confirm the running OpenBao version
Run the version command on every node and confirm each one reports 2.7.0 or later, because the control group policy stanza is not available in earlier lines. Use the most recent patch in the 2.7 line, 2.7.1 released on October 1, 2026, and read the OpenBao releases page for its patch changes before you go further. The check is that every node reports the same version and no node is still on the 2.6 line.
Select protected paths and approver groups
The security owner and the platform team list the paths that release sensitive material, such as KV reads of production credentials, PKI issuance roles for signing CAs, and transit keys that must not be used without review. Record which identity groups will approve each path and confirm that no requester group is also an approver group. The check is a written list where every path has one owner and approvers who are not members of the requester group.
Write the control group policy
Add the control group policy stanza to the ACL policy for each selected path, using the parameters documented for the 2.7.0 release. Confirm the exact keys and approval settings in the OpenBao policy documentation for your version instead of copying examples from older Vault material. Apply the policy in a non-production namespace first. The check is that a read on the protected path with a requester token returns a pending control group response and no secret data.
Assign approver identities through the auth method
Map approver identities through the auth method your organization already uses, such as OIDC group claims, LDAP groups or Kubernetes service identities for automated approvers. Userpass is suitable only for a test lab, and AppRole is documented for servers, so confirm the approver mapping works with your production method. Place approvers in identity groups that the control group policy references. The check is that each approver identity can see pending requests and that a requester identity cannot approve its own request.
Build the approver notification
OpenBao does not send approver notifications, so your team must build the path from a pending request to the approver. Common designs read the request from the audit log stream or poll for pending requests with a service identity, then send a message through your chat or ticketing system. Confirm the exact pending request data your OpenBao version exposes before you write the parser. The check is that a test request produces a notification to a test approver without anyone reading the audit file by hand.
Test the request end to end in a non-production namespace
Run the full flow in a non-production namespace with a test secret or test certificate role. Confirm that the request does not release material before approval, that one approval releases it, and that the requester cannot approve. Then deny a second request and confirm nothing is released. The check is a short test log showing four results: blocked before approval, released after approval, self-approval rejected, and denied request not released.
Verify audit entries for request and approval
Review the audit device output for the test run and confirm that the request and the approval each appear as separate entries with the requester and approver identities. Check that every released secret or certificate maps to exactly one request and one approver. Also confirm the audit device is configured so a single device failure does not silently drop these entries. The check is that you can trace one test release from request to approval to the issued output using audit records alone.
Why the approver notification is your job to build
OpenBao holds a request that needs a second approver, but it does not tell anyone the request exists. Four components sit between the control group and the people who approve it, and your team owns each one. Design them together, because a gap in any one of them leaves sensitive requests waiting without anyone acting on them.
Detecting pending approvals
Something must find out that a request is waiting. Your options are polling the list of pending approvals through the API on a schedule or reacting to entries in the audit log as they appear. Polling is simpler to reason about but adds delay equal to its interval. Audit-based detection ties the alert to recorded activity, but it depends on the audit pipeline being healthy. Confirm which endpoint lists waiting requests in the version you run before you write any code against it.
Routing each request to approvers
A request for a production database credential and a request for a test certificate should not reach the same people. Build a mapping from the secret path or policy to an approver group, and source that group from your identity provider so membership changes take effect without editing the mapping. Enforce that the requester cannot approve their own request. Keep the mapping in version control so reviewers can audit who was allowed to approve what, and when that changed.
Delivering the message to approvers
The approver needs enough context to decide without opening OpenBao to look up the request. Send the request ID, the secret path or certificate role, the requester, the stated justification and the deadline through chat, a ticketing system or email. Never include secret values or tokens in the message. Include a link that takes the approver to the approval step, and confirm that the link still works for approvers who sign in through single sign-on.
Recording the approver response
Each approve or deny decision should land in a system of record that your compliance team can query, such as a ticketing system or a GRC tool. Store the request ID, the approver identity as OpenBao recorded it, the decision and the timestamp. Reconcile these records against the OpenBao audit log on a schedule, so a decision made outside your workflow shows up as a discrepancy. Decide who owns that reconciliation before go-live.
Handling missed notifications
If the notification fails, the request stays pending until it expires, and the person who needs the credential gets no answer. Treat delivery failure as an operational incident. Add reminders before the deadline, escalation to a backup approver group and an alert to the platform team when a message bounces or a chat webhook fails. Test this path by blocking delivery on purpose in a non-production environment, and confirm what the requester sees when a request expires.
What a second approver costs in speed and operational load
A second approver adds waiting time to every gated release, and that delay falls on legitimate access as much as on misuse. A control group holds the request until an approver acts, so an engineer who needs a database credential during an outage waits for a person who may be asleep, in a meeting or on another incident. Measure this before you gate anything. Ask the team to list the last several times they needed each sensitive path, how long the request took and what they did while waiting. Those numbers tell you whether the gate is a minor pause or a standing blocker.
Approver fatigue is the quieter cost. When approvers receive many requests that look routine, they start clicking through without checking the requester, the scope or the reason, and the second signature becomes a formality. The control then exists on paper but does not stop a bad release. The load grows with every gated path and with the size of the team, because each new path adds approvers, notifications and review volume, and a larger team makes it easier for a request to reach someone who lacks context. Keep the number of gated paths small. Start with the few where one actor releasing a secret or certificate alone would be an unacceptable risk, such as production root-level database access or signing keys for a trust anchor, and leave lower-impact reads on ordinary policy.
The pressure to route around the gate is where many designs fail. During an incident, teams may share an approver account, approve their own requests through a second identity they also control, or ask for a standing exemption that never expires. Each shortcut defeats the separation the control was meant to create. Decide in advance who approves during on-call hours, who covers absences, and how emergency access is handled and reviewed afterward, and write those rules down before go-live. Confirm with your own identity and audit teams how the approver identities are issued, and check the current behavior and limits of the control group stanza in the OpenBao documentation for your release.
How approval workflows can be bypassed or weakened
A control group only holds if the people and paths around it hold too. The cards below cover the places a requester could skip or influence an approval, and the checks that show whether each one is closed in your deployment.
Separate requesters from approvers
A requester who can also approve, or who shares an identity group with approvers, turns dual approval into a single-person action. Map which policies grant the request capability and which grant the approve capability, and confirm no identity or group holds both on the same path. Check that no single identity can hold both capabilities for the same secret or certificate path, and test it with a real requester account rather than reading the policy alone.
Lock down root and admin tokens
Root tokens and broadly scoped admin policies can read or write paths without going through the control group stanza, so an approval gate protects nothing against them. Restrict who can mint root tokens, keep the initial root token out of routine use, and review every policy that grants wildcard access to the paths the control group covers. Confirm these checks with the policy list and audit records in your own environment.
Verify approver identity assurance
An approval is only as strong as the proof that the approver is who they say they are. The auth method used for approvers determines how strong that proof is, and login MFA adds a second factor where the method supports it. Confirm which auth method approvers log in with, whether MFA is enforced for that method, and that approver accounts are removed promptly when people leave the approver group.
Protect and review the audit log
Dual approval decisions are only defensible if the record of who requested, who approved and what was released is complete and tamper evident. Run more than one audit device so a single failure does not block requests, forward logs off the cluster, and check that the request and approval entries appear for a test release. Review approvals on a schedule, not only after an incident.
Plan for pending requests during failover
Pending approval requests live in the cluster, so a leader change, a seal event or a restore can leave requests in an unclear state. Test a failover while a request is pending, confirm whether the request remains actionable on the new active node, and document what approvers and requesters must do if it does not. Confirm the exact behavior for your version with the OpenBao documentation before relying on it.
HA docsWhat to confirm about control groups before production use
This table lists the control group details to verify against the OpenBao 2.7.x documentation and release notes before relying on dual approval. Each row names the item, why it affects approval design, and where to confirm it. The main takeaway is that the stanza syntax, approval counts, expiry behavior and scope of approval must be checked in your target patch version, not assumed from this page.
| Item to confirm | Why it matters | Where to confirm |
|---|---|---|
| Exact control group stanza syntax and field names in 2.7.x | A misspelled or unsupported field can leave a sensitive path without the second approval you intended. | The control group section of the OpenBao 2.7.x policy documentation and a test policy on a non-production cluster |
| Supported number of approvers per request | Your approval model, such as one approver or two distinct approvers, must match what the stanza can enforce. | The control group documentation for 2.7.x, tested with your own approver entities |
| Request expiry behavior | If an unapproved request expires, requesters need a clear retry path, and expiry windows affect on-call response. | Control group documentation for 2.7.x and a timed test of a pending request |
| Whether approval applies to every operation on a path | Read, list, update and delete may need different treatment, and a broad path can block routine operations. | Policy documentation for 2.7.x and a test matrix covering each capability on the protected path |
| Behavior with namespaces | Policies and approver identities may resolve differently across namespace boundaries. | OpenBao namespaces documentation and tests across a parent and child namespace |
| Behavior with replication and standby nodes | Approval state must be consistent across the cluster, or a failover could release or lose a pending request. | OpenBao high availability documentation and a failover test during a pending approval |
| Approver notification method | OpenBao does not send approver notifications, so your team must build and test that workflow. | Your own design, validated against the control group behavior in your version |
| Later patch changes to control group behavior | Patch releases can fix or change behavior, so the version you deploy must be the one you test. | The OpenBao releases page, including release notes for 2.7.1 and any later patch you plan to run |
Questions teams ask before adding dual approval to OpenBao
How much effort does building control groups and approver notifications take?
Effort depends mostly on how many secret paths and certificate roles need a second approver, and how much the approval flow has to connect to existing systems. The main cost components are policy design, configuring the control group stanza, building the notifier that OpenBao does not send, testing the approval paths, and writing the runbook. Policy design and testing are largely one-time costs. Notifier maintenance and policy changes recur, especially when approver groups or sensitive paths change. Ask any quote to itemize these components separately, and ask which parts of the notifier the provider expects your team to own after handover.
Can an internal team build dual approval without outside help?
Yes, if the team already runs OpenBao and has people comfortable with policy files, identity groups and a small service that receives events and sends messages. The work breaks into three parts that a team can plan separately:
What does the work need from security and platform staff?
Security staff decide which secrets and certificates need a second approver, who may approve, and how the approver roles keep the requester and approver separate. They also review the policy and the approval evidence. Platform staff run the cluster, deploy the 2.7 release line, manage identity groups, operate the notification endpoint and retest approvals after each upgrade. Both groups should agree on the approval rules before any build starts, because changing them later means reworking policy, notifications and test cases together. Name one owner for each decision in the project plan.
How long does a dual approval pilot take, and what sets the duration?
No pilot duration has been established for this topic, so confirm timing with the provider against your own scope rather than a published figure. The factors that usually set it are the number of sensitive paths in the pilot, how many approval flows each path needs, whether your identity source already provides the approver groups, how many notification channels you need, and how quickly test approvers are available. A narrow pilot on one secret path with existing identity groups is simpler than a pilot covering certificate issuance and several teams. Ask for the milestones and the dependencies on your side in the written plan.
Does an approval workflow change audit or compliance evidence?
It adds evidence, but it does not replace your audit trail. An approval step creates a record of who requested access, who approved it and when, which auditors will ask for. The audit record itself still comes from your configured audit devices, so confirm what the control group workflow writes to them in your version. Your compliance team should map the approval records to the controls they must evidence. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue any audit report or attestation.
Which OpenBao version should a dual approval pilot target?
Target the 2.7 release line, because the control group policy stanza was added in v2.7.0, released on September 23, 2026. v2.7.1 followed on October 1, 2026. Read the release notes for each patch before you pick a version, and confirm the exact stanza syntax and approval behavior in the documentation for the version you deploy. Check the OpenBao releases page for the current patch level before the pilot starts, and plan to retest the approval flow on any later patch.
How does DeployOpen scope and price this work?
DeployOpen does not publish a price list. Most engagements are fixed-scope, so the scope, deliverables and timeline are agreed in writing before work starts, and a quote follows from that written scope. Ask the provider to state which approval paths, notification channels and test cases are included, which documents you receive, and what is excluded. Ongoing support, upgrades and continuous testing are available as retainers, so ask separately for any recurring work after handover.
How DeployOpen scopes and delivers OpenBao approval workflows
DeployOpen plans, builds and documents dual approval for OpenBao control groups inside your own infrastructure. The work covers the policy design, the approver notification path that OpenBao does not send on its own, and the evidence your security and compliance teams need to review it.
How we scope
- Written scope lists which secret paths and PKI roles need a second approver, and which do not.
- Scope names the OpenBao version and release line you run, including whether control groups are available on it.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- Control group policy stanzas are written and tested against each protected path before rollout.
- The approver notification path is built as a separate component, since OpenBao does not send approver notifications itself.
- Tests cover requester, approver and denied-request cases, including approvals that arrive after the request expires.
How we hand over
- Documentation covers the policy set, the approver roster process, the notification design and the runbook for stuck requests.
- Your team receives configuration in version control, with a record of each test result and its retest outcome.
- Handover includes an walkthrough with the operators who will approve, deny and audit control group requests.
How we support
- Ongoing support covers OpenBao upgrades, policy changes and changes to the notification component after handover.
- Retainers can include periodic retesting of approval paths after each OpenBao release you adopt.
- Confirm with us in the quote which support tasks fall under a retainer and which are separate work.

