How OpenBao helps with SOC 2 CC6.1 and CC6.7 and where it stops
When a SOC 2 examination is coming, the first question is usually where the secrets actually live. Database passwords in deployment scripts, API keys in CI variables and service credentials in config files are exactly what a service auditor will ask about under CC6.1, the criterion covering logical access security software, infrastructure and architectures. OpenBao addresses that gap directly: it stores key/value secrets encrypted before they reach storage, issues dynamic credentials that expire, and revokes leases automatically or in bulk. Those are documented capabilities, and they give you a single place to scope which workloads and people can read which secrets, backed by policies rather than shared files.
For CC6.7, which concerns limiting and protecting information while it is transmitted, moved or removed, OpenBao contributes encryption as a service and its API and cluster traffic can be configured for TLS, so the design question is which channels carry secrets and whether each one is encrypted. Audit devices log every API request and response as JSON, with most strings HMAC-hashed, which is the evidence trail a sampler will pull. The documentation recommends more than one audit device because a failed audit device can stop OpenBao serving requests, so confirm that behavior with the project before you rely on it. Criteria next to CC6.1, such as CC6.2 on user registration, CC6.3 on role-based access and least privilege, and CC6.6 on external threats, still need controls that OpenBao does not provide on its own, including your joiner and leaver process and your network perimeter.
The boundary is the part to settle early. OpenBao does not write your access policy, approve requests, run quarterly access reviews or decide what counts as sufficient evidence. Your organization owns those controls and must operate them consistently across the examination period, and the service auditor decides whether the design and, for a Type 2 report, operating effectiveness are adequate. DeployOpen can plan and build the OpenBao configuration, its logging and the evidence it produces, but it does not issue SOC 2 reports. Ask your auditor which points of focus they will test, and treat the AICPA's 2017 Trust Services Criteria as the reference for what to prepare.
Mapping CC6.1, CC6.3 and CC6.7 to OpenBao configuration
This table maps each SOC 2 requirement in scope to the OpenBao capability that supports it, the configuration the team must set, and the control the organization still has to write and operate itself. Read each row as a question an assessor will ask, then check that the configuration and the evidence exist in your environment. OpenBao supplies technical enforcement and logs; the policies, approvals and reviews around it remain your responsibility.
| Criterion | OpenBao configuration | Organization must still provide |
|---|---|---|
| CC6.1 access security | Auth methods such as OIDC, AppRole, Kubernetes or TLS certificates, with login MFA where documented, so every caller authenticates before reading secrets | Written access standard, list of approved auth methods, and proof that the identity provider enforces MFA for human users |
| CC6.2 user registration | Identity group and claim mapping in the auth method so access follows the directory record, not manual token creation | Joiner, mover and leaver procedure, approval record for each new OpenBao identity, and removal timing for departing staff |
| CC6.3 least privilege | Path-scoped ACL policies bound to roles or groups, separate namespaces for tenants or environments, and short token and lease lifetimes | Role design matrix, periodic access reviews of policies and group membership, and segregation between policy authors and approvers |
| CC6.3 segregation of duties | Distinct policies for administrators who manage auth and policies and for workloads that only read specific secret paths | Documented separation of duties and evidence that no single person can both grant and use a privileged policy |
| CC6.7 transmission encryption | TLS listeners on the API with certificates from your internal CA, and TLS on every storage or cluster connection that carries secrets | Cipher and protocol standard, certificate issuance and rotation procedure, and network rules that block plaintext paths |
| CC6.7 protection at rest | Encryption of key/value secrets before they are written to storage, with the root key protected by the unseal configuration you choose | Unseal ceremony records, key custodian assignments, and a decision on where the unseal key is held |
| CC6.7 removal and movement | Leasing with automatic revocation and bulk revocation to end access to dynamic credentials quickly | Procedure for exporting secrets, a rule against copying secrets to removable media or endpoints, and evidence of revocation drills |
| Audit trail for all criteria | Audit devices logging every request and response as JSON with most strings HMAC-hashed, configured on more than one device | Log retention period, a review cadence, forwarding to your log platform, and alerts for audit device failure |
How policy-scoped access and short-lived credentials answer CC6.1
CC6.1 is answered by showing that every identity reaches OpenBao through a defined login path and can only act on the secret paths its policy names. OpenBao documents a broad set of auth methods, including OIDC/JWT, AppRole, Kubernetes, LDAP, TLS certificates, tokens and username and password, with login MFA available. For people, the usual design is to federate sign-in to your identity provider through JWT/OIDC so that joiner, mover and leaver decisions stay in one place. For servers, AppRole is the method OpenBao recommends, while Userpass is recommended only for developer machines. Confirm each method you plan to use against your identity provider and your MFA setup, since the supported claim mappings and group handling depend on that provider and your configuration.
Authentication only establishes who is calling. The auditor will look at what each identity can reach, so the policy attached to each role should name explicit paths and capabilities, such as read on one KV path for one application, and nothing broader. Review those policies as access-control evidence, and check that no identity holds a root token in routine use. Leases shorten credential lifetime: dynamic secrets and tokens carry leases, and OpenBao revokes them automatically when they expire. Bulk revocation gives you a tested response when an identity or an entire credential class must be cut off at once. Record the revocation procedure in your runbook so the evidence exists before an incident.
Namespaces give tenant isolation inside one cluster, which matters if business units or customers share an OpenBao deployment. Treat each namespace as a separate access boundary and define who administers it. Decide whether your environment needs separate clusters instead, based on your own risk assessment, because the namespace model does not replace that decision. The service auditor will test a sample of access grants, so keep the auth configuration, policy files and access requests in version control with approvals attached.
Evidence a service auditor samples from OpenBao
A service auditor testing CC6.1 and CC6.7 samples records that show access was granted, used and removed as designed, and that data stayed encrypted in transit. The cards below cover the OpenBao artifacts that carry that evidence and how to keep them for the examination period.
Audit device logs
OpenBao audit devices write every API request and response as JSON, with most strings HMAC-hashed so secret values do not appear in plain text. Auditors use these entries to trace who requested which secret or key and when. Confirm which audit device paths are enabled, where they write, and who can read the log files. The docs recommend enabling multiple audit devices because audit failures can stop OpenBao from serving requests, so a single failed sink should not become an outage or a gap in evidence.
Audit devices docsPolicy and auth configuration exports
Exported policies and auth method settings show what access was defined, not only what happened. For CC6.1 and CC6.3, the auditor compares policy files and role bindings against the access model you described. Store dated exports taken at the start and end of each examination period, and under version control where possible, so changes between exports can be reviewed. Note who approved each change and link it to a ticket.
Access review records
Auditors look for evidence that the people and machines holding OpenBao tokens and roles were reviewed on a schedule and that stale access was removed. Keep dated review sign-offs listing each identity, its policies, the reviewer and the outcome. Pair them with audit log extracts showing that revoked identities no longer authenticate. Ask your team to define who reviews privileged policies such as root or sudo-equivalent access, because that choice will be questioned.
Lease and revocation records
Leases show how long dynamic credentials lived and whether OpenBao revoked them automatically or on request. Auditors compare lease creation, expiry and revocation entries against your stated credential lifetime. Bulk revocation events matter for incident response, so retain the requests that triggered them along with the ticket or approval. Confirm that lease-related audit entries are captured by your audit devices, since the lease list alone is not a historical record.
- Revocation on expiry
- Automatic
TLS configuration records
CC6.7 expects protection of information in transit, so auditors ask for the listener and client connection settings in use during the period. Retain the server configuration showing TLS enabled on API and cluster listeners, the minimum TLS version, certificate sources and renewal dates. Include the certificate authority chain used for OpenBao endpoints. Confirm with your platform team that no listener was reachable without TLS during the examination period, and keep the configuration files that prove it.
What is OpenBaoRetention and log integrity
Evidence is only useful if it still exists when the auditor samples it. Define a retention period that covers the full examination window and any period the auditor needs to sample, and store audit logs in a location separate from the OpenBao nodes. Confirm with your auditor which retention period and storage controls they expect. Restrict who can delete or edit log archives, and record that restriction as its own control.
What encryption in transit and at rest covers for CC6.7
CC6.7 asks the organization to limit how information is transmitted, moved and removed, and to protect it while it is in motion. In an OpenBao deployment, the platform handles one part of that on its own: key/value secrets are encrypted before they are written to the storage backend, so the data at rest in Raft, PostgreSQL or PebbleDB is ciphertext. The rest of the control is yours to configure and document. Your service auditor will expect to see the TLS listeners on the OpenBao API and cluster ports, the certificate chain that clients and standby nodes trust, and the settings that prevent clients from falling back to unencrypted connections. Write these down as the configuration of record, with the owner of each certificate and its renewal process.
Client trust chains need the same attention as the listeners. Decide whether your internal CA, a PKI engine inside OpenBao, or an external authority issues the server certificates, and confirm that every application, agent and administrator workstation validates that chain rather than skipping verification. Expired or self-signed certificates that teams disable checks for are a common gap that a sampled test will find. Also confirm which secrets leave OpenBao, such as those delivered to CI runners or written to configuration files, and how those copies are protected in transit and removed afterward.
The storage backend choice changes what must be protected beyond the TLS configuration. Raft keeps replicated data on each node's disk, PostgreSQL keeps it in a database that your database team already backs up and patches, and PebbleDB is local to a node. Each needs its own encryption at rest for disks, volumes and snapshots, its own backup encryption, and its own handling for removable media and endpoints used by administrators who hold unseal material. Confirm with your storage and database owners how backups are encrypted and where copies are kept, because a backup that holds encrypted secrets is still an information asset that falls under CC6.7.
What OpenBao does not cover for SOC 2
OpenBao enforces and records some of the logical access and encryption controls behind CC6.1 and CC6.7, but it cannot write your policies, review your people or decide how keys are held. The cards below cover the areas that remain with your organization, and the auditor forms the opinion on whether they operate.
Written access policy and onboarding
CC6.2 expects users to be registered and authorized before access is granted, and OpenBao only reflects what you configure. Policies, approval steps and joiner and leaver procedures sit outside the product. Check that every OpenBao policy, auth role and identity group traces to a documented approval, and that offboarding revokes both directory accounts and OpenBao tokens or leases.
Periodic access reviews
Policies in OpenBao can be correct on the day they are written and drift later as teams change. Someone must review who holds which policies, roles and groups on a schedule and record the decision. Ask whether the review covers human and machine identities, such as AppRole roles and Kubernetes service accounts, and whether an auditor can sample the review record.
Endpoint and removable media controls
CC6.7 points of focus include protecting removable media and endpoint devices. A secret that is retrieved correctly can still be copied to a laptop, a USB drive or a shell history. OpenBao does not manage those devices. Document how operators retrieve secrets, which workstations they use, and how unseal material or root tokens are kept off shared or unmanaged machines.
Change management for OpenBao
Policy changes, auth method changes, seal configuration and version upgrades all alter the control environment. Your change process must approve, test and record them, including who may change the audit device configuration. Confirm that changes to policies and to the OpenBao version pass through the same ticket and approval path as other production changes, and that the rollback plan is written down before the change.
Audit log delivery monitoring
OpenBao audit devices record every request and response, but a failing device can stop OpenBao from serving requests, and the docs recommend more than one device. Monitoring must confirm that logs actually arrive at the SIEM or storage location, that gaps are alerted, and that log retention meets your policy. Ask who receives the alert when one device fails.
Read the sourceRoot key and unseal custody
How the root key is protected and who can unseal the cluster decides whether the encryption controls hold under pressure. Shamir key holders, cloud KMS or HSM access and recovery procedures all need named owners, separation of duties and records. Document custody decisions before go-live, since the auditor will ask who could decrypt stored secrets without the normal approval path.
Evidence from a Vault migration
If you are moving from Vault, the migration guide describes replacing the server process on all nodes with configuration unchanged, but it was tested only against Vault 1.14.1 community edition, not Vault Enterprise. Confirm the source version and edition you run, test the cutover in a non-production environment, and retain the before and after configuration, policies and audit records as evidence.
Read the sourceConfiguration sequence for a SOC 2 scoped OpenBao
This sequence turns an OpenBao cluster into a system whose access, transport encryption, audit trail and revocation procedures can be described to a service auditor and sampled as evidence. Each step produces a record that supports the CC6.1 and CC6.7 control narrative.
Confirm the system boundary and TSC categories
Management, with the compliance lead, defines which systems, people and secret consumers fall inside the OpenBao boundary and which Trust Services Criteria categories the SOC 2 covers. Security, covered by the common criteria CC1 to CC9, applies to every SOC 2, and other categories are added only when in scope. Done when a written system description names the OpenBao clusters, the namespaces, the auth methods and the applications that read secrets, and the auditor has agreed the boundary.
Deploy the cluster and storage backend
The platform team deploys OpenBao on infrastructure the organization controls, choosing integrated storage (Raft), PostgreSQL or another documented backend based on its operating skills. The OpenBao docs describe PostgreSQL as easier to operate safely than Raft, which should weigh in the choice. Confirm the current release line, including the 2.7.x series, on the OpenBao releases page before deployment. Done when every node reports healthy, the HA lock is held by one active node, and backup and restore of the storage backend has been tested.
Enable TLS and clean up legacy configuration
Configure TLS on every listener and cluster address so that client-to-server and node-to-node traffic is encrypted, which is the main evidence for CC6.7. If the cluster was migrated from Vault, remove disable_mlock from the configuration, since OpenBao stopped using mlock in 2.0.0, and confirm whether a rekey was needed for clusters bootstrapped before Vault 1.3. Done when a TLS scan of each listener shows the expected protocol settings, the configuration files are version-controlled, and the change is recorded.
Configure identity-backed auth and least-privilege policies
Connect people to an identity provider through JWT/OIDC with login MFA, and give servers and workloads machine identities through AppRole, Kubernetes or TLS certificate auth, with Userpass reserved for developer machines per the project's guidance. Write policies that grant each identity only the paths it needs, reviewed by the owner of each application. Done when a sample of identities shows a documented owner, a documented policy, and no standing root token in routine use.
Enable at least two audit devices
Enable two or more audit devices so that every API request and response is logged as JSON with most strings HMAC-hashed. The docs recommend multiple devices because an audit failure can stop OpenBao from serving requests, so the second device is a resilience control as well as a record. Confirm that log destinations are protected from modification and that retention meets the organization's policy. Done when a test secret read appears in each device, and the destinations are listed in the system description.
Document revocation and rotation procedures
Write runbooks for revoking leases, performing bulk revocation of a compromised path or identity, rotating secrets and rotating the root key or unseal material. OpenBao provides leasing with automatic revocation and bulk revocation, and the procedures should name who may trigger them and how the action is logged. Done when each runbook has been walked through once in a non-production cluster and the output is attached to the control narrative.
Set up scheduled evidence collection
Automate the export of policy definitions, auth method configuration, audit device status, TLS settings and access review records on a fixed schedule, so the auditor can sample operating effectiveness across the examination period rather than a single snapshot. Ask the service auditor which samples and frequencies they expect before building the job. Done when a recent export set is stored with a timestamp, the quarterly access review is recorded, and the auditor has confirmed the format is acceptable.
How identities, policies, OpenBao and audit logs connect
The diagram starts with a person or workload signing in through the organization's own identity provider, then authenticating to OpenBao over TLS through an auth method. OpenBao issues a token bound to policies, which scope what that caller can read or request, such as a key/value secret or a dynamic database credential. Every request and response is written to the audit devices, and the evidence store is what the service auditor samples. Check that the trust boundary sits where you expect, that each policy traces to a named role, and that audit devices write somewhere the cluster administrators cannot quietly alter.
Logins, policy-bound tokens, secret requests and audit records in one flow.
Questions buyers ask about OpenBao and SOC 2 logical access
Does OpenBao alone make my company SOC 2 compliant?
No. OpenBao supplies technical controls and records that support SOC 2 criteria, but a SOC 2 report depends on your whole system, including people, processes, policies, vendor management and change control. A service auditor examines the system description, the controls you designed and, for a Type 2 report, whether those controls operated over a period. OpenBao can enforce policy-scoped access to secrets, issue short-lived credentials, encrypt secrets before they reach storage and write audit logs for every API request. You still need documented procedures that say who approves access, how access is reviewed and how keys are rotated, plus the evidence that those procedures ran. Only an independent CPA firm issues a SOC 2 report.
How do SOC 2 Type 1 and Type 2 differ for OpenBao evidence?
A Type 1 report covers the system description and the suitability of control design as of a single date, so the evidence is a snapshot of how OpenBao policies, auth methods and seals are configured on that day. A Type 2 report adds an opinion on operating effectiveness over a period, so the auditor samples evidence across the whole window. For OpenBao, that means exported policy and auth configuration at the start, plus records of access requests, approvals, lease activity and audit device output throughout the period. Ask your auditor which period and sample sizes they expect before you decide how long your audit logs must be retained and how often configuration must be exported.
How much effort and time does an OpenBao SOC 2 implementation take?
No researched figure is available for effort or duration, so treat any number you hear as unverified. The main drivers are the number of systems that pull secrets, how many auth methods you need (for example AppRole for servers, JWT/OIDC for people and workloads), whether you already run an HA storage backend, and how much of your current secret sprawl must be migrated. Costs fall into one-time work (design, build, migration, documentation, control testing) and recurring work (access reviews, upgrades, audit log monitoring, rotation). Ask any partner for a written scope that lists systems, auth methods, storage design, evidence to be produced and the audit period it must support.
What must our identity, network and audit teams provide?
Each team owns inputs the OpenBao controls depend on:
- Identity: the identity provider for human login, group membership used in policies, MFA settings and joiner, mover and leaver processes that revoke access.
- Network: reachability between OpenBao nodes and clients, TLS certificates for API traffic, and segmentation that keeps the API off untrusted networks, which supports CC6.7 protection of data in transit.
- Audit: a decision on where audit device output goes, who reviews it, how long it is retained, and whether they can validate that logs are complete.
The OpenBao docs recommend multiple audit devices because audit failures can stop OpenBao serving requests, so the audit team should plan for that failure mode as well as for log review.
Can our internal team implement OpenBao for SOC 2 on its own?
Often yes, if the team has operators who understand secrets management, TLS, identity federation and control evidence. Internal teams usually struggle less with installing OpenBao and more with the compliance layer: mapping each OpenBao setting to a CC6.1 or CC6.7 design statement, deciding which evidence the auditor will sample, and keeping that evidence current. The official migration guide was tested only against Vault 1.14.1 community edition, so if you are moving from Vault, verify your own edition and version before planning. Weigh your team's capacity against the audit calendar, and ask whether a partner will cover only the gaps you name.
What should a written scope for an OpenBao SOC 2 partner include?
A written scope should name the in-scope systems and the CC6 criteria each control supports, list every auth method and policy model, and describe the storage backend and HA design. It should state which secrets engines are in use (key/value, dynamic database credentials, Transit or PKI), how keys are protected and rotated, and what audit devices are configured. Ask for the evidence package in writing: configuration exports, access review records, audit log samples, change records and a control matrix. Confirm the audit period the evidence must cover, the acceptance steps, what is excluded, and whether a retainer covers upgrades and recurring evidence collection after the first engagement.
Which OpenBao engineering choices affect what the auditor samples?
Several choices determine how easily evidence can be produced. Policy-scoped access and short-lived credentials, such as leases with automatic revocation, make it possible to show that access was granted for a defined purpose and ended. Audit devices log each request and response as JSON with most strings HMAC-hashed, so you can show activity without storing plaintext secrets in logs. Storage backend choice matters too: the docs describe PostgreSQL as easier to operate safely than Raft, which affects how confidently you can maintain backups and HA. Document each choice with its reason, because auditors test the design as well as the running configuration.
How DeployOpen works on this
DeployOpen plans, implements, hardens, documents and supports self-hosted OpenBao inside your own infrastructure, so your compliance and security teams can review the access and encryption controls directly. The work is shaped around the evidence a service auditor will ask for, while the auditor's own opinion remains with the independent firm that performs the examination.
How we scope
- Engagements are fixed-scope, with the systems, secrets engines, auth methods and TLS endpoints agreed in writing before work starts.
- The written scope names which SOC 2 criteria the configuration is designed to support, such as CC6.1 and CC6.7, and which are left to your controls owners.
- We confirm where the OpenBao cluster runs, which storage backend and audit devices apply, and who owns each policy and recovery procedure.
How we build
- We configure policies that scope secret paths to named roles, so each team reads only the secrets it needs.
- We set up auth methods such as OIDC or AppRole for people and machines, and test that short-lived leases expire and revoke as designed.
- We enable multiple audit devices, check that audit logs record requests without exposing secret values, and test behavior when an audit device fails.
How we hand over
- You receive the configuration, policy files and a written description of how access to secrets is granted, reviewed and removed.
- Documentation maps each configured control to the evidence a service auditor would sample, including audit log samples and TLS settings.
- We test the setup with your team, including a retest after fixes, and record open items so your auditor sees a clear status.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, covering OpenBao version updates and policy changes.
- Retainers can include periodic reviews of access policies, audit log health and certificate expiry, scoped in advance.
- Questions about how a particular SOC 2 examination treats your evidence should go to your service auditor, since DeployOpen does not issue attestations.

