How OpenBao supports HIPAA encryption of ePHI, and where it stops
A covered entity or business associate that must decide how to encrypt electronic protected health information can use OpenBao Transit as the encryption and decryption mechanism. Transit performs encryption on data sent to it without storing that data, so the application keeps the ePHI in its own database and only calls OpenBao for cryptographic operations. Under 45 CFR 164.312(a)(2)(iv), the Security Rule calls for a mechanism to encrypt and decrypt ePHI, but the specification is addressable, not required. That means OpenBao supplies the mechanism; it does not decide whether encryption is reasonable and appropriate for your environment.
The decision sits with your organization. Under 45 CFR 164.306(d)(3), you must assess whether encryption is reasonable and appropriate, implement it if so, and if not, document why and implement an equivalent alternative measure that is reasonable and appropriate. Record that assessment as part of your risk analysis, identify which ePHI stores and transmission paths it covers, and name the owner of each Transit key and its rotation schedule. The NIST SP 800-66 Rev. 2 resource guide, which HHS lists as informational rather than binding, offers sample questions you can use to structure this review. Confirm with your privacy and compliance leads which systems fall within scope before configuring any key.
Also be clear about where the work stops. HIPAA has no certification. HHS states that no Security Rule standard requires an entity to certify compliance and that it does not endorse or recognize private certifications, so no statement that OpenBao makes a deployment "HIPAA certified" should appear in your documentation or vendor questionnaires. The HHS Office for Civil Rights evaluates your whole program through complaints, compliance reviews and audits. Your evidence file should show the risk analysis, the encryption decision, the key lifecycle and the audit records of key use, and it must still be reviewed against your specific obligations with qualified counsel and assessors.
Mapping 164.312(a)(2)(iv) and related requirements to OpenBao configuration
This table maps each HIPAA Security Rule provision that touches ePHI encryption to the OpenBao capability that supports it and the configuration your team should confirm. Read each row as a question: what the rule asks, what OpenBao can do, and what your environment must still prove. The main takeaway is that OpenBao supplies the key and encryption mechanism, while the addressable decision, key policy and audit review remain documented work for your organization.
| Requirement | OpenBao capability | Configuration to confirm |
|---|---|---|
| 164.312(a)(2)(iv) encryption and decryption of ePHI (addressable) | Transit encrypt and decrypt endpoints perform the cryptographic operation without storing the data in OpenBao | Which data stores and fields pass through Transit, and whether any ePHI is written to storage in plaintext elsewhere |
| 164.306(d)(3) addressable implementation rule | No OpenBao feature makes this decision; it is an organizational assessment | Written risk analysis showing why encryption is or is not reasonable and appropriate, and the equivalent alternative measure if not implemented |
| 164.304 definition of encryption | Transit output is ciphertext that depends on a key held in OpenBao, matching the definition's reliance on a confidential key | Key access limited by policy so that only authorized services can use the key to decrypt |
| Key versioning and rotation supporting encryption controls | Key versioning, rotation and rewrap of stored ciphertext under newer key versions | Rotation schedule, retention of old key versions and a tested rewrap procedure for existing records |
| Key import and convergent encryption | Key import allows keys generated outside OpenBao; convergent encryption supports deterministic lookups on encrypted fields | Whether imported key material is generated and handled under your key ceremony, and whether convergent mode leaks equality patterns you have assessed |
| Audit logging of every key use (supports access control and audit review) | Audit devices log each API request and response as JSON with most strings HMAC-hashed | At least two audit devices, log storage and retention, and a review process, since audit failures can stop OpenBao serving requests |
| Access control to key use (supports unique user identification) | Auth methods including AppRole, JWT/OIDC, Kerberos, LDAP, Kubernetes and TLS certificates, with login MFA | Per-service policies on the Transit key path, unique identities for people and workloads, and MFA for human logins |
| 164.314(a)(2)(i) business associate contract terms | OpenBao does not sign contracts; the vendor relationship is separate from the software | If a partner operates OpenBao for you, confirm the contract requires Security Rule compliance, subcontractor flow-down and incident reporting |
Choosing Transit, KV or application-level encryption for ePHI
The Transit engine performs encryption, decryption, signing and HMAC on data that you send to it. OpenBao does not store the data it processes, so the encrypted output (the ciphertext) is what your application writes to its own database or file store. The keys stay inside OpenBao, and your application calls the API each time it needs to encrypt or decrypt a field.
- What OpenBao stores: the named encryption keys and their version history, not the ePHI passed through the API.
- Key versioning and rotation: each key keeps prior versions, so new writes use the latest version while older ciphertext still decrypts. Rotation is an operation you schedule and test, and you need a plan for re-encrypting stored records if your policy requires it.
- Key import: keys can be imported into Transit, which matters if you must migrate keys from another system. Confirm how the import was generated and who held it.
- Application ownership: your team owns the field selection, the database schema for ciphertext, query design (equality searches need deliberate handling), and error handling when OpenBao is unreachable.
- Audit coverage: every encrypt and decrypt call is an API request, so it appears in the audit log.
Confirm with your architects which fields are ePHI and whether your query patterns still work on ciphertext before you commit to this model.
The key/value secrets engine stores secrets that your systems read back, such as database passwords, API tokens and certificates. OpenBao encrypts the secret before it writes it to the storage backend, so the data at rest in the storage layer is protected by OpenBao's own barrier. KV is designed for small credentials rather than bulk patient records, and it is the wrong tool for encrypting a database column full of ePHI.
- What OpenBao stores: the secret values and their metadata, encrypted before they are written to storage.
- Storage encryption: OpenBao encrypts its own storage before writing it, so protection at rest does not depend on the backend disk alone.
- Versioning: KV version history keeps earlier secret values, which you should cap and prune according to your retention decisions.
- Application ownership: your team owns how applications fetch secrets, how long they cache them, and how they handle a rotated value.
- Use in the HIPAA analysis: KV protects credentials that guard ePHI systems. It does not by itself satisfy the encryption specification for ePHI held in an application.
Check whether your ePHI actually lives in the systems that KV protects, or whether you need Transit or application-level encryption for the data itself.
In this pattern the application encrypts ePHI with a data key it obtains or unwraps through OpenBao, then stores ciphertext in its own database. OpenBao holds the key-encryption keys and governs access to them, while the application performs the bulk encryption. This split can reduce the volume of data sent to OpenBao, but it moves more implementation decisions to your developers.
- What OpenBao stores: the key-encryption keys and policies. Ciphertext and data keys live in the application's own storage.
- Key versioning and rotation: you must decide how data keys are wrapped, how wrapped keys are versioned, and how old records are re-wrapped after rotation.
- Algorithm and mode choices: the application team selects and maintains the cryptographic libraries and modes, which needs independent review.
- Application ownership: your team owns the envelope format, key caching, memory handling, backups of wrapped keys and the recovery procedure if a key is lost.
- Audit coverage: only the key operations reach OpenBao's audit log, so application logs must cover data access.
Before choosing this pattern, ask your security team to confirm who reviews the cryptographic design and how it is tested.
How an ePHI encrypt request flows through OpenBao and its audit devices
The diagram starts with an application service that authenticates to OpenBao inside the client's trust boundary, then calls the Transit engine to encrypt or decrypt ePHI using a named key. OpenBao returns ciphertext or plaintext, and the request and response are written to every configured audit device with most strings HMAC-hashed. Check that at least two audit devices are configured, because the docs note that an audit failure can stop OpenBao from serving requests, and that ePHI itself is never sent to the audit log in readable form.
Encrypt and decrypt flow with dual audit devices inside the client boundary.
Audit log evidence of every key use and how to keep it
Transit operations are only as useful as the record of them. The audit log shows who used which key, when and how often, and the records below make that evidence reviewable. None of it replaces the risk analysis or key policy that decides what the logs must prove.
JSON records of every request
OpenBao audit devices write each API request and response as a JSON record, so every encrypt and decrypt call against a Transit key leaves an entry. For ePHI workloads, this is the raw trail a reviewer samples when asking whether a given key was used by an expected identity. Check that the records capture the Transit paths your applications call and that your team can filter them by mount and path.
Audit devices docsHMAC-hashed strings and their limits
Most strings in audit records are HMAC-hashed, so reviewers can correlate values without seeing them in clear text. This protects against casual disclosure of sensitive values in logs. It does not make the log anonymous: the hashes still show patterns of use, and the records still identify the caller and the path. Confirm the hashing behavior for each field your reviewers depend on before relying on it.
Multiple audit devices and failure monitoring
The OpenBao docs recommend configuring multiple audit devices because an audit failure can stop OpenBao from serving requests. A second device gives you a fallback record, while the failure itself still needs an alert. Decide which device is primary, where each one writes, and who is paged when a device fails. Test that a failed device produces an alert rather than silent gaps in the trail.
Audit devices docsRetention and access to audit logs
Audit logs need a retention period set by your risk analysis and your own record-keeping rules, not by the software. Store copies outside the OpenBao host so an attacker with server access cannot erase the trail, and restrict who can read or delete them. Ask your compliance lead to confirm the retention period and the people allowed to review it before go-live.
Key version and rotation records
Transit keys are versioned and can be rotated, so a single decrypt may depend on a specific key version. Record when each version was created, when it was rotated, and which version new ciphertext uses. Pair these records with the audit trail so you can show that old data remains decryptable under retained versions and that rotations followed your schedule.
Transit engine docsKey policy and risk analysis behind the logs
The logs show what happened, but the addressable decision about encryption belongs to your documented risk analysis and key policy. Those documents state why encryption of ePHI is reasonable and appropriate, which keys protect which data, and who approves exceptions. Auditors will ask for the policy first and then sample the logs against it. HHS guidance on risk analysis is the starting point for that document.
HHS risk analysis guidanceConfiguration sequence for an ePHI encryption deployment
This sequence takes an organization from the addressable-specification decision to an OpenBao Transit setup that is scoped, audited and tested. Each step produces an artifact that a security or compliance reviewer can inspect.
Complete and document the addressable assessment
Before any build, the covered entity or business associate assesses whether encryption of ePHI at rest and in transit, through a key management service such as OpenBao Transit, is reasonable and appropriate for its systems, as 45 CFR 164.306(d)(3) requires. Compliance, security and the system owners record the risk analysis inputs, the decision, and, if encryption is not adopted, the reason and the equivalent alternative measure. The output is a signed decision record that names the systems in scope and the data classes they hold. Confirm the scope with your privacy and legal advisers, since this decision is theirs as much as yours.
Deploy OpenBao on a documented storage backend
Install OpenBao in the client's own infrastructure on a storage backend the project documents as supported for high availability, either integrated storage (Raft) or PostgreSQL. Choose the backend with your operations team, since the project's documentation describes PostgreSQL as easier to operate safely than Raft. Confirm the version to deploy against the current OpenBao releases page at the time of build. The output is a running cluster with a tested unseal procedure, TLS on all listeners and a recorded storage backup plan.
Configure auth methods and policies for named services
Enable auth methods that bind each workload to an identity, such as AppRole for servers or Kubernetes auth where workloads run on a cluster, and disable username and password logins for production. Write Transit policies that grant encrypt and decrypt capabilities on specific key names only to the named service identities, and deny key management paths to application roles. Reviewers should be able to see, for each service, which key it can use and why. The output is a policy set and an access matrix mapped to the ePHI data flows documented in step one.
Enable multiple audit devices
Enable at least two audit devices so that the failure of one does not stop OpenBao from serving requests, as the project's audit documentation advises. Confirm the destinations, retention and access controls for each device with your logging owner, and make sure the logs record every Transit request, including the key name and the calling identity. Remember that most strings are HMAC-hashed in the log, so plan how investigators will correlate hashed values. The output is a verified audit configuration with a test event traced end to end.
Define key rotation and versioning procedures
Set the rotation interval, minimum decryption version and the process for rewrapping existing ciphertext with the latest key version, using the Transit key versioning and rotation features. Decide who approves a rotation, how it is recorded, and how the ciphertext stored in application databases is migrated. Document key import handling if keys originate outside OpenBao. The output is a written key lifecycle procedure with a named owner and a rotation log that auditors can sample.
Test decrypt, recovery and access denial
Run tests that prove authorized services can encrypt and decrypt, that unauthorized identities are refused, and that the cluster recovers from a node loss and from a restore of storage backups. Include a test of decrypting data encrypted under an earlier key version after rotation. Record each test case, the expected result, the observed result and the person who signed off. The output is a test report that shows the controls work, and any failures carry a tracked fix before go-live.
Collect evidence for compliance review
Assemble the artifacts an assessor or the covered entity's privacy officer will ask for: the signed addressable decision, architecture and data flow diagrams, policy files, the access matrix, audit configuration, rotation log, backup and restore records, and the test report. Map each artifact to the Security Rule standard it supports, using the implementation specifications in Appendix A to Subpart C as the reference list. The output is an evidence binder kept under change control, with an owner who refreshes it after each release or policy change. Note that the Security Rule does not require certification, so this binder supports your own review and any independent assessment you commission.
What the enforcement and penalty figures mean for this decision
The enforcement picture shows why the encryption decision needs a paper trail. The HHS Office for Civil Rights (OCR) enforces the Security Rule through complaint investigations, compliance reviews and audits. Its 2024 to 2025 HIPAA audit program reviewed 50 covered entities and business associates against the Security Rule provisions most relevant to hacking and ransomware, so an encryption gap is exactly the kind of finding an auditor will test. For penalties assessed on or after January 28, 2026, the inflation-adjusted civil money penalty runs from $145 per violation (no knowledge) to $2,190,294 per violation (uncorrected willful neglect), with a calendar-year cap of the same $2,190,294. Confirm the current table in 45 CFR 102.3 before you cite it internally, since the figures are adjusted over time.
Penalties turn on what you decided and what you can show. Under 45 CFR 164.306(d), 164.312(a)(2)(iv) is addressable, so the record that matters is your documented assessment of whether encryption of ePHI at rest is reasonable and appropriate for each system, and, where you choose an alternative, the written reason and the equivalent measure. For an OpenBao deployment, that means naming the Transit keys that protect ePHI fields, the policies that limit who can call encrypt and decrypt, the key rotation schedule, and the audit devices that record each key use. Enforcement staff will ask for these artifacts, not for a statement that encryption exists. Because there is no HIPAA certification, an OpenBao deployment cannot be presented as certified, only as documented and tested.
The rule itself is still the 2003 framework with amendments no later than 2013. HHS proposed a major Security Rule revision on January 6, 2025 (90 FR 898), with comments due March 7, 2025. As of October 2026, no final rule has been published, and the Unified Agenda lists final action for July 2027. Plan against the current text, and track the revision through the Federal Register proposed rule. The proposal would likely tighten expectations around encryption, so a key management design that already logs and rotates keys will be easier to adjust than one built around a single shared secret. Ask your counsel which version of the rule governs your contracts and business associate agreements.
How much effort and cost does OpenBao HIPAA encryption take?
What drives the cost of an OpenBao HIPAA encryption project?
The cost depends mostly on how many systems hold or transmit ePHI, how many of them need Transit encryption, and how much of the surrounding control set you must document. The main cost components are the risk analysis and design work, the OpenBao deployment itself (storage backend, high availability, seal choice, and identity integration), application changes to call Transit or handle ciphertext, audit log routing and retention, and the written policies and procedures. Recurring costs include key rotation, log review, patching and upgrades, and retesting after changes. Ask any provider for a quote that lists each component separately, states which items are one-time and which recur, and names the systems in scope.
Can our internal team deploy OpenBao for ePHI encryption on its own?
A team with experience in secrets management, Linux operations, and application development can build the core deployment internally, provided it has time and a clear design. The harder parts are usually the decisions the Security Rule expects you to document: the risk analysis that justifies using encryption, the key lifecycle procedures, and the evidence that audit logging works. Teams with no prior OpenBao or Vault experience should expect a learning period before they can run high availability, seals and upgrades confidently. DeployOpen implements, hardens and documents self-hosted platforms in your own infrastructure, so you can choose to build internally, bring in a partner for specific phases, or hand over the full implementation.
What does the work need from our compliance and security staff?
The work needs decisions and sign-off from people who own risk and policy, not only from engineers. Compliance and security staff need to confirm which systems hold ePHI, record the risk analysis result that makes encryption reasonable and appropriate or document an equivalent alternative, approve the key custody model, and define who may use keys and who may read audit logs. They also need to agree on retention periods for logs and on how incidents are escalated. Under 45 CFR 164.306(d), an addressable specification requires this assessment and documentation, so the engineering work cannot close it alone. Plan time for these reviews early, because they often gate the design.
How long does an OpenBao HIPAA encryption project take?
Duration depends on scope, and no duration is set by the regulation or by the project itself. The main variables are the number of applications and data stores to change, the high availability design you choose, how many environments must be built (for example, production, staging and a recovery site), and how quickly internal reviews can be completed. Ask for a written plan that breaks the work into phases with entry and exit criteria, and check that it includes time for testing, audit log verification and a documented rollback. A fixed-scope engagement typically agrees the scope, deliverables and timeline in writing before work starts, so the plan can be checked against the agreed scope.
Does HIPAA certify an OpenBao encryption setup?
No. HIPAA has no certification for the Security Rule. HHS states that no Security Rule standard requires an entity to certify compliance, that it does not endorse or recognize private certifications, and that such certifications do not prevent HHS from later finding a violation (HHS FAQ 2003). Enforcement comes from the HHS Office for Civil Rights through complaints, compliance reviews and audits. A deployment can be designed and documented to support your compliance program, and an assessor you select can review it, but no one can issue a HIPAA certificate for the setup. Be cautious with any vendor that claims otherwise.
What recurring work follows an OpenBao encryption deployment?
Recurring work keeps the encryption controls working and provable over time. The main items are:
- Reviewing audit logs on a set schedule and investigating unexpected key use
- Rotating Transit keys according to your documented policy and confirming that old key versions are handled correctly
- Applying OpenBao upgrades and security advisories, and testing them in a non-production environment first
- Checking that more than one audit device is active, because audit failures can stop OpenBao serving requests
- Reviewing access policies and removing access that is no longer needed
- Retesting after application or infrastructure changes
Ask whether the quote includes these tasks, who performs them, and whether they are covered by a support retainer.
What should we ask a provider for in a quote?
Ask for a written scope that names every system holding or transmitting ePHI in the project, the OpenBao components to be deployed, and the applications to be changed. Request a line-item breakdown of the risk analysis support, deployment, integration, documentation, testing, training and handover. Ask which items are one-time and which recur, what is excluded, and what assumptions the price depends on, such as access to your environments and the timing of reviews. Confirm who holds the deliverables, how changes to scope are priced, and what the provider needs from your staff. A clear quote makes it easier to compare your internal estimate with an outside one.
How DeployOpen scopes and delivers HIPAA encryption controls with OpenBao
DeployOpen plans, implements, hardens, documents and supports self-hosted OpenBao inside your own infrastructure, so Transit encryption, key policies and audit logging can be reviewed by your compliance and security teams. We prepare the systems and evidence for your risk analysis and assessments, but we do not issue HIPAA certifications or audit reports.
How we scope
- We start with a written scope that names the ePHI systems, applications and data flows that will call OpenBao Transit.
- The scope records which key types, rotation rules and access policies apply to each application that encrypts or decrypts ePHI.
- We agree the documented risk-analysis inputs with you, including where your own assessment still needs a decision.
How we build
- We deploy OpenBao in the cloud accounts, data centers or networks you control, with SSO, least-privilege policies and audit devices configured.
- We configure Transit keys, versioning and rotation, and test encrypt and decrypt paths against representative application workloads.
- We set up at least two audit devices and test what happens to requests when one fails, so logging gaps are found before go-live.
How we hand over
- You receive configuration records, key inventory, policy files and an access model that map each control to its Security Rule specification.
- Runbooks cover key rotation, audit log review, failed-device response and documented reasons for any addressable specification handled by an alternative measure.
- We walk your security and compliance teams through the evidence so they can test it themselves and reach their own conclusions.
How we support
- Fixed-scope engagements end with a written handover, and any follow-up work is agreed in a separate written scope.
- Ongoing support, upgrades and continuous security testing are available as a retainer, including reviews after each OpenBao release.
- Retesting after fixes confirms that encryption paths, permissions and audit logging still behave as documented.

