Temporal for HIPAA ePHI in workflow payloads: what the platform supports
If your compliance or platform team runs workflows that carry electronic protected health information (ePHI) on self-hosted Temporal, you need to show an assessor which technical safeguards are in place. Temporal provides documented mechanisms that support specific 45 CFR 164.312 technical safeguards: payload encryption through a codec server, mTLS for transport, an Authorizer in place of the default allow-all, and OIDC sign-in for the Web UI. These mechanisms support the Security Rule but do not make your organization compliant on their own, and HIPAA has no certification. Compliance is an obligation you meet and can demonstrate with evidence.
The Security Rule applies to covered entities (health plans, health care clearinghouses and covered health care providers) and to their business associates, for all ePHI they create, receive, maintain or transmit. If a vendor or contractor operates your Temporal cluster or handles its data, the business associate contract under 45 CFR 164.314(a)(2)(i) should cover that relationship. Start by listing every workflow, payload and visibility field that can contain ePHI, including data passed through activity inputs, signals and search attributes, since each of these can persist in workflow histories.
Map each control to the standard it supports and record the decision. Access control under 164.312(a)(1) maps to the Authorizer and namespace roles. Encryption under 164.312(a)(2)(iv) is an addressable specification, so document whether payload encryption through a codec server is reasonable and appropriate, and if you choose an alternative, record why. Transmission security under 164.312(e)(1) maps to mTLS on internode and frontend traffic. Audit controls under 164.312(b) need separate logging of who accessed workflow data. Confirm the exact settings and their current behavior against the self-hosted security documentation for your server version before you write them into your assessment file.
Mapping HIPAA technical safeguards to Temporal controls
This table compares four HIPAA Security Rule technical standards with the Temporal controls that support them and the configuration each one needs. Read each row as a gap to close, since the Temporal control named in a row only counts once its configuration is in place. The main takeaway is that Web UI sign-in and mTLS do not replace an Authorizer, and that encryption under 164.312(a)(2)(iv) is an addressable specification that needs a documented decision.
| Requirement | Temporal capability | Configuration needed |
|---|---|---|
| 164.312(a)(1) access control: only granted users and software may access ePHI | Authorizer plugin and ClaimMapper map JWT or certificate claims to namespace roles. Web UI sign-in through OIDC controls interface access only. | Replace the default noopAuthorizer, which allows every API request until changed. Define namespace roles for workers, clients and operators, and confirm the Web UI OIDC setting does not stand in for Service authorization. |
| 164.312(a)(2)(iv) encryption and decryption (addressable): mechanism to encrypt and decrypt ePHI | Custom payload codec and codec server encrypt payloads before they are stored in workflow histories. The Web UI can decode payloads through the codec server endpoint. | Implement the encryption as an addressable specification with a written assessment of whether it is reasonable and appropriate, and document any alternative measure. Confirm key storage, rotation and who can decrypt, and run the codec server with access limited to authorized operators. |
| 164.312(b) audit controls: record and examine activity on systems that use ePHI | Temporal event history records workflow executions, and the Service exposes activity that operators can review. Log forwarding and retention depend on your own stack. | Confirm which audit events your deployment records, forward Service and frontend logs to a central store, and set retention to match your documented policy. Review whether the Authorizer denials and namespace role changes are captured. |
| 164.312(e)(1) transmission security: guard ePHI sent over electronic networks | mTLS with separate internode and frontend settings protects traffic between Temporal services and between clients and the frontend. | Enable mTLS for internode and frontend traffic, issue and rotate certificates, and place Temporal services on hosts not reachable from the public internet. Confirm that workers, the codec server and the Web UI also use protected connections. |
Evidence an assessor can review from a Temporal deployment
An assessor reviewing HIPAA technical safeguards for a Temporal deployment will ask how each control is configured, who can reach the system, and whether the settings stayed that way. Temporal produces some of this material as configuration, while the organization must generate the rest and keep it under its own retention policies.
Authorizer and ClaimMapper configuration exports
Export the Authorizer and ClaimMapper settings from each frontend deployment, along with the Helm values or static configuration that set them. Without an explicit Authorizer, self-hosted Temporal falls back to the noopAuthorizer, which allows every request, so the export must show a non-default Authorizer in effect. Keep dated exports from each change so the assessor can see when access control was enabled and how claims map to namespace roles.
Temporal security docsmTLS certificate inventory
Maintain an inventory of every certificate used for frontend and internode traffic, listing issuer, subject, validity dates, and the services that present each certificate. The platform enforces mTLS with separate settings for each traffic type, but it does not track which certificates exist or when they expire. Reconcile the inventory against live configuration at each review, and record who approved each issuance and renewal.
Codec server deployment records
Record where the codec server runs, which version is deployed, which key material it reads, and which network paths reach it. The Web UI and SDK clients depend on it to decode encrypted payloads, so an assessor will want to see that it sits inside the trust boundary and has its own access controls. Keep change records for each deployment so decryption capability can be traced to a named system at any point in time.
Key custody and rotation logs
Document who holds encryption keys used by the codec, where they are stored, how they are generated, and how rotation is performed and verified. Temporal does not manage these keys, so the rotation log is an organization artifact. Show that old payloads remain decryptable during and after rotation, and that key access events are logged and reviewed alongside the broader audit trail the Security Rule requires.
Web UI OIDC settings
Capture the OIDC provider, client registration, redirect settings, and the value of TEMPORAL_AUTH_ENABLED for each Web UI deployment. This control governs who can sign in to the interface, but it does not grant authorization against the Temporal Service, so the record must be kept separate from namespace role evidence. Confirm that the Web UI is not reachable from untrusted networks and that its codec endpoint points to the controlled codec server.
Web UI configuration referenceAccess review records
Keep periodic reviews of which identities hold each namespace role, with reviewer, date, decisions, and removals. The platform reflects role assignments from the ClaimMapper and identity provider, but the review itself is a process the organization must run and document. Include service accounts and worker identities, since they can read and write workflow histories containing ePHI, and retain the records under the organization's own retention policy.
Configuration sequence for ePHI workflows on self-hosted Temporal
This sequence moves a self-hosted Temporal Service from default settings to a configuration where ePHI in workflow payloads is encrypted, access is authorized and every setting is recorded as evidence for the Security Rule review.
Confirm network placement and exposure
The infrastructure team places Temporal Server services, persistence and visibility stores on hosts that cannot be reached from the public internet, with network access limited to trusted internal networks. Confirm this with firewall rules, security group exports and a reachability test from outside the trusted network. The step is done when external probes to the frontend and Web UI ports fail and the test results are saved.
Enable mTLS for internode and frontend traffic
The platform engineering team configures mTLS with separate settings for internode traffic between Temporal services and for frontend traffic from SDK clients and tools. Issue certificates from the organization's approved certificate authority, and confirm that a client without a trusted certificate is refused. The step closes when the handshake test passes for workers and fails for an untrusted client, and the certificate issuance and rotation procedure is documented.
Replace noopAuthorizer with a ClaimMapper and Authorizer
The security engineering team configures a ClaimMapper that maps JWT or certificate claims to namespace roles, then configures an Authorizer so that API requests are checked against those roles. Without this step, self-hosted Temporal uses the default noopAuthorizer, which allows every API request with no authentication or access control. The step is done when a worker identity without the required role is denied in a test namespace and the role mapping is exported for review.
Deploy codec server and custom payload codec
The application and security teams implement a custom codec that encrypts payloads containing ePHI before they reach the Temporal Service, and deploy a codec server so that authorized users can decode payloads in the Web UI and tools. Keys are held in a key management system that the client controls, and the codec server sits behind the same access controls as the Web UI. The step closes when a stored workflow history shows ciphertext for a test PHI field, and an authorized user can decode it while an unauthorized user cannot.
Enable OIDC sign-in for the Web UI
The identity team sets TEMPORAL_AUTH_ENABLED and connects the Web UI to the organization's OIDC identity provider. This controls who can sign in to the interface but does not replace the Authorizer checks against the Temporal Service, so both controls must be tested separately. The step is done when an unauthenticated browser session is redirected to sign-in, and a user without a namespace role cannot view workflow data.
Confirm server version and upgrade path
The platform team records the running server version, the Helm chart or deployment method, and the persistence and visibility versions, then checks them against the current release notes and the documented upgrade order. Upgrades must move one minor version at a time to the latest patch of the current minor, and schema upgrades must run before server upgrades when the release notes call for them. The step closes with a written upgrade plan that names the target versions and the rollback point before go-live.
Record each setting as control evidence
The compliance lead collects the configuration files, certificate and role mapping exports, codec and key settings, Web UI sign-in configuration, network test results and the upgrade plan into one evidence folder linked to the relevant technical safeguards. Each entry states the setting, its owner, the test that proved it and the date it was last reviewed. The step is done when a reviewer can trace each safeguard to a setting and a test result without asking the platform team for explanations.
How ePHI moves through the Temporal trust boundaries
The diagram starts with a worker or client encoding workflow payloads through a codec before anything leaves the application. Payloads then cross mTLS into the frontend, where the Authorizer and ClaimMapper decide namespace access, and are stored in persistence and visibility stores. On the operator side, the Web UI signs in through OIDC and sends encoded payloads to the codec server for decoding. Check each boundary: plaintext should never reach the persistence or visibility stores, and the codec server should sit inside the same controlled network.
Payloads stay encoded at rest and in transit; decoding happens only at the codec server.
How to document addressable encryption decisions
Encryption of ePHI at rest and in transit sits under 45 CFR 164.312(a)(2)(iv), which is an addressable implementation specification, not a required one. That means the organization must first assess whether encryption is reasonable and appropriate for each system and data flow. If it is not, the organization must document why and implement an equivalent alternative measure, as 45 CFR 164.306(d) requires. For a Temporal deployment, the assessment covers more than the workflow history store. It has to address payloads that carry ePHI, the codec server that decodes them for the Web UI and tooling, the transport between SDK clients, workers and the frontend, and the keys that protect all of it. Each of these needs its own entry.
A documented decision for payload encryption should name the data classes and workflow types in scope, the codec that encrypts payloads before they reach the Temporal Service, and where the key material lives and who can use it. It should also record which principals can call the codec server endpoint, how mTLS and the Authorizer limit access to histories, and how key rotation and recovery are handled. If the organization chooses an alternative, such as keeping ePHI out of payloads and referencing it from a system it already encrypts, the record must explain why that is equivalent and how it is tested. Reviewers will look for the reasoning, the owner who signed off and the date of review. Confirm with your own security and compliance leads which records they require, since the rule does not prescribe a format.
NIST SP 800-66 Rev. 2, published in February 2024, is a useful companion for this work because it gives key activities, descriptions and sample questions for each Security Rule standard. HHS lists it as informational rather than legally binding, so treat its questions as prompts for the assessment rather than a checklist to certify against. Use the Temporal self-hosted security documentation to confirm the exact settings your decision refers to, and record the Temporal Server version you assessed, since the configuration may change across upgrades.
Questions buyers ask about Temporal and HIPAA
Is Temporal HIPAA certified?
No. HIPAA has no certification, and Temporal does not hold one that would make a deployment compliant. HHS states that no Security Rule standard requires an entity to certify compliance, and that it does not endorse or recognize private certifications. Compliance is a property of how your organization runs the system: which safeguards are configured, how access is controlled, what is logged and how risks are documented. The useful question is whether your configuration supports each relevant safeguard in 45 CFR 164.312, and whether you can show evidence of it. Independent auditors and certification bodies assess third-party certifications, and DeployOpen does not issue them.
What drives the cost of a HIPAA-ready Temporal setup?
Cost comes from four components: the platform work, the security configuration, the evidence work and the operating run cost. Platform work covers deploying the server, persistence and visibility stores, and workers. Security configuration covers mTLS, an Authorizer in place of the default allow-all, OIDC sign-in for the Web UI, and a codec server for payload encryption. Evidence work covers risk analysis, policies, access reviews and audit log retention. Run costs recur: patching, upgrades, key rotation and monitoring. Costs rise with the number of namespaces, the number of teams with access, the number of data flows that carry ePHI and the amount of existing workflow code that must change. Ask any quote to price each component separately and to state which ones are one-time and which recur.
How long does HIPAA configuration and evidence work take?
Duration depends on the number of ePHI workflows, how much of the environment already exists, and how much evidence your compliance team needs. A single namespace with one worker fleet and an existing identity provider is simpler than several namespaces spanning multiple business units. Work that often takes the longest is workflow code changes for payload encryption, testing that encrypted payloads still decode in the Web UI and in replay, and the documentation that shows how each safeguard was chosen. Addressable specifications require a documented assessment and, where a measure is not adopted, an equivalent alternative. Ask a partner for a schedule tied to written milestones and for the list of assumptions behind it, such as which systems are in scope and who approves the evidence.
What does the work need from our team?
The work needs named owners on your side for several decisions and inputs. Security and compliance staff must define which workflows carry ePHI, who may access each namespace and how audit records will be reviewed. Identity staff must provide the OIDC provider and the claims used for role mapping. Platform staff must supply the hosting environment, network segments, certificate authority and key management service. Application teams must identify the payloads that contain ePHI and review changes to workflow code. Legal or privacy staff should confirm the business associate terms that apply to any hosting or support provider, under 45 CFR 164.314. Agree on these owners and their time before the engagement starts, because delays in access or approvals usually extend the timeline more than the technical work does.
Can our in-house team configure HIPAA controls for Temporal alone?
Often yes, if the team already runs Kubernetes or similar infrastructure, operates an identity provider, and has someone who understands the Security Rule well enough to map controls and document decisions. The technical configuration is documented by Temporal, including mTLS settings, the ClaimMapper, the Authorizer plugin and the codec server. The harder part is usually independent review: testing that the Authorizer really blocks unauthorized calls, confirming that encryption keys are protected, and producing evidence that an auditor can follow. Teams without a security engineer or without experience with ePHI workflows often benefit from an outside review of the design. Ask any partner what they will deliver, what they will not own, and whether the evidence can be reviewed by your own compliance function.
Does Temporal Cloud change the HIPAA answer?
Temporal Cloud changes who operates the service, so it changes which controls you own and which ones you must evidence through a contract. Your organization still has to satisfy the Security Rule for ePHI it creates, receives, maintains or transmits. A managed service provider that handles ePHI is a business associate, and the business associate agreement under 45 CFR 164.314 must require Security Rule compliance and incident reporting. Confirm with the vendor whether it will sign such an agreement and which of its features you need. Self-hosting keeps the service inside your infrastructure, but it also makes you responsible for patching, backup and access control. The choice affects scope and cost, and it should be made before workflow payloads are designed.
What penalty exposure applies to a HIPAA Security Rule violation?
Civil money penalties under the HIPAA rules are assessed per violation, with an annual cap. For penalties assessed on or after January 28, 2026, the inflation-adjusted amount under 45 CFR 102.3 ranges from $145 per violation where the entity did not know of the violation, up to $2,190,294 per violation for uncorrected willful neglect, with a calendar-year cap of $2,190,294. Actual exposure depends on the facts, the entity's knowledge, how quickly it corrected the problem and the number of records and violations involved. HHS OCR enforces the Security Rule through complaints, compliance reviews and audits, so documented, tested controls matter in any review. Ask counsel to assess your specific exposure rather than relying on these maximums alone.
Which Temporal controls map to HIPAA technical safeguards?
Several controls map directly to the technical safeguards in 45 CFR 164.312. An Authorizer and ClaimMapper support access control under 164.312(a)(1), so that only identified users and services reach namespaces that hold ePHI. Payload encryption through a custom codec supports the encryption and decryption specification in 164.312(a)(2)(iv), which is addressable and needs a documented decision. mTLS on internode and frontend traffic supports transmission security under 164.312(e)(1). OIDC sign-in for the Web UI controls access to the interface, but it does not replace authorization against the Temporal Service. Audit logging and review support 164.312(b). Confirm each mapping against your own environment and document where a control is not adopted.
How DeployOpen works on this
DeployOpen plans and implements self-hosted Temporal inside your own infrastructure, so the payload encryption, mTLS, Authorizer and Web UI sign-in controls sit where your compliance and security teams can review them. Each engagement starts with a written scope that ties every control to the HIPAA technical safeguard it supports.
How we scope
- Map which workflows carry ePHI, which payload fields hold it and which services read or write those payloads.
- Define the namespaces, roles and service identities that the Authorizer and ClaimMapper must distinguish.
- Agree in writing which Temporal Server, persistence, visibility and worker components are in scope and who owns each.
How we build
- Deploy the self-hosted Temporal Service in infrastructure you control, with mTLS for internode and frontend traffic configured separately.
- Build and test the payload codec and codec server, and replace the default noopAuthorizer with an Authorizer and claim mapping you specify.
- Configure OIDC sign-in for the Web UI and test that payload decoding is limited to users the codec server should serve.
How we hand over
- Deliver configuration, test results and a mapping from each control to the HIPAA technical safeguard it supports, for your compliance team to review.
- Document key handling, codec server ownership, audit logging sources and the steps to rotate certificates and encryption keys.
- Walk your operations and security staff through the runbook, and document any addressable specification you chose to address differently and why.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the initial engagement ends.
- Plan Temporal Server upgrades one minor version at a time, with schema changes applied before server changes where release notes require it.
- Retest authorization, mTLS and Web UI access after each upgrade, configuration change or change to workflow code that touches ePHI.

