Kubernetes for HIPAA technical safeguards

A HIPAA technical safeguards mapping for Kubernetes: access control with RBAC and OIDC, audit controls from API audit logs, Secrets encryption and TLS, plus the evidence and gaps you still own.

On this page

Kubernetes for HIPAA technical safeguards: what the platform helps with

If your organization plans to run ePHI workloads on self-managed Kubernetes, the platform gives you mechanisms that map to the technical safeguards in 45 CFR 164.312: access control through RBAC and OIDC, audit controls drawn from API audit logs, encryption of Secrets at rest and TLS for transmission security. Those mechanisms are inputs to HIPAA compliance, not compliance itself. HIPAA compliance is an organizational program covering risk analysis, policies, workforce training and evidence over time, and no certification exists that confirms it. HHS states that no Security Rule standard requires an entity to certify compliance and that private certifications do not prevent HHS from later finding a violation.

The Security Rule (45 CFR Part 164 Subpart C) applies to covered entities, meaning health plans, health care clearinghouses and covered health care providers, and to their business associates, for all electronic protected health information they create, receive, maintain or transmit (45 CFR 164.302). If your cluster hosts ePHI for a covered entity, or you process it for one, the rule reaches the cluster, its nodes, its storage and its logs. Confirm your role under the rule with counsel before you scope the platform, because the business associate contract under 45 CFR 164.314(a)(2)(i) also flows terms down to any subcontractor that handles ePHI.

Each implementation specification is either required or addressable. Addressable does not mean optional. For an addressable specification, you must assess whether it is reasonable and appropriate for your environment, implement it if so, and otherwise document why not and implement an equivalent alternative measure if that is reasonable and appropriate (45 CFR 164.306(d)). Of the seven technical safeguard implementation specifications, unique user identification and emergency access procedure are required, while automatic logoff and both encryption specifications are addressable. Record each addressable decision in your risk analysis, because the platform settings in the rest of this page only satisfy a safeguard once your documented decision supports them.

Mapping HIPAA technical standards to Kubernetes capabilities

This table maps four HIPAA technical standards in 45 CFR 164.312 to the Kubernetes features that can support them and the configuration each one needs. Read each row as a starting point for your own risk analysis, since platform features support the safeguard but do not satisfy it on their own. The main takeaway is that most of the work sits in identity integration, RBAC scoping, audit log retention and Secrets encryption, and that automatic logoff and integrity controls must be handled outside these platform features.

RequirementKubernetes capabilityConfiguration needed
164.312(a)(1) Access control (standard)RBAC, OIDC or other authentication methods, namespace scopingAuthenticate people through OIDC, grant least-privilege Roles per namespace, and avoid shared static tokens or long-lived client certificates for staff
164.312(a)(2)(iii) Automatic logoff (addressable)Not covered by Kubernetes features; token lifetime affects only API sessionsSet token and session lifetimes in the identity provider and document the logoff procedure for kubectl and dashboards
164.312(a)(2)(iv) Encryption and decryption (addressable)Encryption at rest for Secrets in etcd; external stores via Secrets Store CSI DriverConfigure an EncryptionConfiguration with a key provider, restrict list and watch on Secrets, and confirm etcd snapshots are encrypted too
164.312(b) Audit controls (standard)API server audit logs recording requests and responses by user and resourceDefine an audit policy covering ePHI namespaces, ship logs off-cluster, set retention, and review access to the log store itself
164.312(c)(1) Integrity (standard, not covered here)Not covered by these platform features; image signing and GitOps review support it indirectlyAddress integrity with separate controls such as signed images, change control and checksum or backup verification
164.312(e)(1) Transmission security (standard)TLS for API server, etcd, kubelet and ingress traffic; NetworkPolicy to limit pathsEnable TLS on every control plane and ingress endpoint, use mutual TLS where supported, and default-deny NetworkPolicy for ePHI namespaces
164.312(e)(2)(ii) Encryption for transmission (addressable)TLS certificates managed for ingress and cluster componentsDecide whether encryption is reasonable for each path, document the decision, and confirm certificate rotation procedures

How RBAC and OIDC authentication support unique user identification

Kubernetes does not store normal users as API objects. The API server authenticates each request using X.509 client certificates, bearer tokens (including OpenID Connect and JWT tokens), webhook token authentication or an authenticating proxy, and then authorizes it with RBAC. For 164.312(a)(1) and the unique user identification implementation specification, the design decision that matters most is which of these methods the cluster accepts for people. Client certificates issued by the cluster CA are hard to revoke before they expire, so for ePHI workloads the cluster should accept OIDC from your identity provider and treat certificate issuance for humans as an exception. Confirm which authentication flags your chosen distribution sets on kube-apiserver and whether any shared kubeconfig with a long-lived token still exists.

Group claims should drive role bindings, and each binding should grant the smallest verb and resource set a job needs. Map OIDC group claims to RoleBinding or ClusterRoleBinding objects, scoped to the namespaces where a care team or application owner works, rather than binding individual users. Avoid built-in broad roles for clinical or support staff, and review who can read Secrets, since the Kubernetes secrets good practices guidance notes that Secrets are stored unencrypted in etcd by default and that list and watch access should be tightly restricted. Removing static credentials, including service account tokens that are mounted into pods without need and kubeconfigs kept on laptops, closes a path that would otherwise bypass the identity provider's logon and deprovisioning process. Plan a joiner, mover and leaver procedure that ties group membership to HR changes, because a removed employee must lose cluster access through the identity provider alone.

Pod Security Standards and namespace boundaries limit what workloads can do, but they do not decide who may access ePHI. The Privileged, Baseline and Restricted standards, enforced per namespace by Pod Security Admission, reduce privilege escalation risk inside a pod. They do not answer whether a given engineer may read a namespace holding patient data. Those answers come from RBAC grants and your documented access authorization under 164.308(a)(4), which you should record and review on a schedule. Keep the two controls separate in your risk analysis so an auditor can see who is authorized and what each workload is permitted to do.

Evidence an auditor or OCR reviewer will ask for from the cluster

An OCR reviewer or auditor will ask you to show who can reach ePHI, how that access was granted and reviewed, and what the cluster recorded about it. Each item below is a record the cluster or your team produces, and each needs a plan for where it lives, who can read it and how long it is kept.

RBAC bindings exported from the cluster

Export the RoleBindings and ClusterRoleBindings that grant access to namespaces holding ePHI, along with the Roles and ClusterRoles they reference. Reviewers use this to check that access follows the minimum needed for each job and that no broad binding grants Secrets access to people who do not need it. Store the exports as dated snapshots in version control so changes appear as reviewable diffs. Confirm your own retention period with your compliance lead, and restrict repository write access to the platform team.

Kubernetes authentication docs

OIDC provider configuration and group mappings

Record the API server OIDC settings, including the issuer URL, client ID, username and groups claims, and any claim prefixes, together with the identity provider groups that map to Kubernetes roles. Reviewers test whether a departed employee's access ends when the identity provider account is disabled, so this mapping is central to unique user identification. Keep the configuration in version control, and keep a record of who approved each group-to-role mapping.

API server audit policy and retained audit logs

Show the audit policy file the kube-apiserver uses, the audit backend settings, and samples of retained events for reads and changes to Secrets and RBAC objects. This is the main evidence for activity recording under the audit controls standard. Confirm that logs are shipped off the control plane nodes, that they cannot be altered by cluster administrators alone, and that retention matches your policy. Restrict read access to the logs because they reveal who touched ePHI.

Secrets encryption configuration and key rotation records

Keep the encryption configuration that the API server uses for Secrets at rest, which names the providers and key material references, and a log of each key rotation with date, operator and verification result. Secrets are stored unencrypted in etcd by default, so a reviewer will ask for proof that encryption is active and that old keys were retired. Check that the key itself is held in a separate key store and that the configuration file is restricted to platform administrators.

TLS configuration for ingress and internal endpoints

Document the certificate issuers, protocol versions, cipher settings and certificate lifetimes for ingress controllers, the API server, etcd peer and client links and any service-to-service traffic that carries ePHI. This supports the transmission security standard, which asks for protection against unauthorized access to ePHI sent over networks. Capture the configuration as code, and keep periodic scan results that show the live endpoints match the documented settings.

Access review records

Keep a dated record of each periodic review of cluster and namespace access, listing who reviewed it, which bindings and group members were checked, and which accesses were removed or changed. Reviewers look for evidence that access rights stay current with each person's role, not just that they were set once. Store the review records in a restricted location with the reviewer's sign-off, and confirm the review frequency with your own risk analysis rather than a fixed external standard.

Configuration sequence for HIPAA-aligned clusters

This sequence turns the HIPAA technical safeguards into concrete cluster settings, in an order that lets each control be verified before the next one depends on it. The output is a cluster with documented access, logging, encryption and transmission controls that the covered entity or business associate can review.

  1. Confirm scope and ePHI data flows

    The covered entity or business associate lists which namespaces, workloads, data stores, backups and external connections create, receive, maintain or transmit ePHI, and names an owner for each. DeployOpen works through this with your compliance and security leads, using the Security Rule scope in 45 CFR 164.302 as the boundary. The step is done when a data flow diagram and a workload inventory are approved, and every item in them maps to a system that will be configured in the steps below.

  2. Build the cluster from a private image source

    The cluster is built with your chosen distribution or kubeadm, and for restricted or air-gapped networks, kubeadm config images list and pull fetch the control plane images so they can be mirrored into a private registry. The kubeadm init --image-repository option points the install at that registry. The control plane follows the high availability guidance, with at least three control plane nodes behind a TCP load balancer on port 6443 if availability is required. The step is done when all nodes are Ready and the control plane pulls only from approved sources.

  3. Configure OIDC authentication and least-privilege RBAC

    The kube-apiserver is configured to trust your identity provider through OpenID Connect, so people sign in with the organization's existing accounts and multi-factor policy rather than shared credentials. Human access is granted through RBAC roles scoped to namespaces, and the Secrets permissions are restricted to list and watch only where a workload needs them. Break-glass access is documented separately and tested. The step is done when a test user gets only the permissions their role defines, and each ePHI namespace has a named access owner. This work supports unique user identification under 164.312(a)(2)(i).

  4. Enable API audit logging with a defined policy

    An audit policy is written that records who did what to ePHI-bearing resources, including reads of Secrets and changes to RBAC, and it is applied to the kube-apiserver with the log path and retention set for your environment. Logs are shipped to a store that your security team can search and that is protected from modification by workload administrators. The step is done when a test read of a Secret and a test RBAC change both appear in the central log with the requesting identity. This supports the activity review expected under 45 CFR 164.312(b).

  5. Encrypt Secrets at rest and back up etcd

    Secrets are stored unencrypted in etcd by default, so encryption at rest is configured with an EncryptionConfiguration using a key provider your key management process approves. The etcd cluster is then backed up with etcdctl snapshot save on a schedule, and restores are rehearsed with etcdutl on a non-production copy. The step is done when a newly created Secret is confirmed to be encrypted in etcd, and a restore test completes with the workloads returning to a healthy state. This addresses 45 CFR 164.312(a)(2)(iv), with the etcd backup and key recovery documented together.

  6. Enforce Pod Security Standards per namespace

    Each namespace is labeled for Pod Security Admission at the level that matches its workloads, with the Restricted level used wherever the application allows it. Namespaces that cannot meet Restricted are documented with the reason and a compensating control. The step is done when a deliberately non-compliant test pod is rejected in an enforced namespace, and the label inventory matches the ePHI workload list from the first step. This reduces the access paths available to a compromised container.

  7. Enforce TLS for transmission security

    Every connection that carries ePHI is encrypted in transit, including traffic to the API server, between the control plane and etcd, between ingress and workloads, and to external services. Certificates are issued from an authority your team controls, and the expected protocol versions and cipher policy are written down and tested. The step is done when a scan of each ePHI endpoint shows TLS only, and a plaintext connection attempt fails. This supports 45 CFR 164.312(e)(1).

  8. Document addressable decisions under 164.306(d)

    For each addressable specification, the team records whether it is reasonable and appropriate for the environment, what was implemented, and, where a measure was not adopted, why and which equivalent alternative was used. The record covers encryption and integrity decisions in 164.312 and any Pod Security exceptions. The step is done when the decision log is approved by the compliance owner and linked from the configuration baseline. HIPAA has no certification, so this record is the evidence a reviewer or the HHS Office for Civil Rights will ask for.

Using API audit logs for audit controls under 164.312(b)

Section 164.312(b) requires hardware, software and/or procedural mechanisms that record and examine activity in information systems that contain or use ePHI. On Kubernetes, the API server audit log is the first mechanism to configure because it records requests made to the control plane: who created, changed, read or deleted objects such as Secrets, RoleBindings and Deployments. Before relying on it, confirm in the Kubernetes documentation for your version how audit policy rules are written, which stages and levels are available, and how the log backend writes and rotates files. Those behaviors differ enough between versions that the audit policy should be tested in a non-production cluster first.

API audit logs do not cover everything an ePHI workload does. They say nothing about what happens inside application containers, on worker nodes, in the database that stores patient records, or when an application reads ePHI from its own storage. Each of those activity sources needs its own mechanism: application logs with user identifiers, node and runtime logs, and database audit logging. Document this boundary in the risk analysis so that reviewers do not assume the cluster audit trail is complete. Ship audit records off the control plane nodes to a central store that the workload team cannot edit, and restrict who can read or delete them, since the log is only useful if it survives an incident.

Deciding who examines the logs and how often is the organization's responsibility, not something Kubernetes performs. Name an owner, define the review procedure, the alerts that must be investigated (for example, Secret reads outside expected service accounts or changes to RBAC bindings), and the record kept of each review. The Security Rule leaves the method to the covered entity, so the procedure should match the size and risk of the environment and be written into policy. Ask your assessor or compliance lead early which evidence they expect to see, such as sample review records, to avoid building a log pipeline nobody examines.

How identity, API audit and Secrets encryption fit together

The flow starts with a user signing in to the OIDC identity provider, which issues a token the kube-apiserver validates. The API server then checks RBAC before any request reaches the cluster, and every request is written to the audit log that is shipped to a central store outside the cluster. Secrets written to etcd pass through an encryption-at-rest provider backed by an external key service. Check that the audit policy captures Secret access and that the key service sits outside the cluster's trust boundary.

Illustrative flow of sign-in, authorization, audit shipping and Secrets encryption.

TLS for transmission security across cluster and application paths

Control plane traffic carries cluster state and credentials between kube-apiserver, etcd, kubelets and the other control plane components. Under 45 CFR 164.312(e)(1), the entity must guard against unauthorized access to ePHI sent over an electronic communications network. Secrets and workload specs that may contain ePHI-related configuration pass through these connections, so the platform team should treat them as in scope for the transmission safeguard.

  • kube-apiserver certificates: Decide who issues the serving and client certificates, which certificate authority signs them, and how the cluster CA is protected. Record these decisions in the system design.
  • etcd peer and client TLS: Configure TLS between etcd members and between the API server and etcd. The kubeadm high availability guide describes stacked and external etcd topologies, so confirm which topology you use before setting certificate paths.
  • Load balancer on port 6443: When a TCP load balancer sits in front of kube-apiserver on port 6443, confirm whether it passes TLS through or terminates it, and document the choice. Terminating TLS at the load balancer moves the protected segment and needs its own controls.
  • Kubelet communication: Confirm how kubelets authenticate to the API server and how the API server reaches kubelets for logs and exec, and document the certificate rotation settings.
  • Rotation and expiry monitoring: Plan certificate renewal and alert before expiry. Ask your vendor or distribution documentation which renewal commands and automation it supports.

Check that every control plane certificate has a named owner, a documented renewal procedure, and an expiry alert.

What Kubernetes does not cover for HIPAA

Kubernetes controls cover only part of the HIPAA Security Rule. The cards below describe obligations that sit in policy, contracts, people and recovery processes, and who in your organization owns each one.

Risk analysis and risk management

The Security Rule expects an accurate and thorough assessment of risks to ePHI across every system that holds it, followed by risk management measures. A cluster configuration review cannot tell you which workloads hold ePHI, where copies land in logs and backups, or how likely each threat is. Your security or compliance lead owns the risk analysis, and the platform team supplies an inventory of namespaces, data stores and integrations. Confirm that the analysis is refreshed when the cluster design changes.

OCR risk analysis guidance

Business associate agreements and subcontractor flow-down

Under 45 CFR 164.314(a)(2)(i), a business associate contract must require the business associate to comply with the Security Rule, flow the same terms to subcontractors that handle ePHI, and report security incidents. Kubernetes does not create these contracts. Legal and procurement own the agreements with your managed Kubernetes provider, hosting partners, and any support or monitoring vendor that can reach ePHI. Check which vendors can access cluster data, logs or backups before work begins.

45 CFR 164.314 text

Automatic logoff and integrity controls

Automatic logoff and integrity controls are addressable implementation specifications under the technical safeguards. Kubernetes can set token lifetimes and kubeconfig practices, but it does not decide how long an idle clinician session stays open in a front-end application. Application teams own session timeouts, and the security team owns the assessment of whether each addressable specification is reasonable and appropriate, with documented reasons for any alternative measure.

Workforce training and sanctions

The Security Rule's administrative safeguards expect workforce security training and a sanctions policy for violations. RBAC defines what an engineer can do, but it does not teach staff to avoid copying Secrets into tickets or to report a misdirected log. HR and the compliance office own training records and sanctions. The platform team should confirm that onboarding and offboarding tie to OIDC group membership, so access changes follow personnel changes.

Incident response and breach reporting

Audit logs from the API server can show who changed a Secret or exec'd into a pod, but they do not decide whether an event is a security incident or a reportable breach. Your incident response team owns triage, containment, documentation and notification timelines to the covered entity or business associate. Confirm that audit log retention, export and alerting are agreed with that team before an event occurs.

Contingency planning beyond etcd snapshots

An etcd snapshot restores cluster state, including object definitions, but it does not restore persistent volumes, container images, external databases or application data. A contingency plan under the Security Rule also covers data backup, disaster recovery and emergency operations. Infrastructure and application owners share this work: the platform team tests cluster and volume recovery, while data owners define restore points and recovery time for each ePHI system.

Questions buyers ask before hiring help for HIPAA on Kubernetes

Is there a HIPAA certification for a Kubernetes cluster?

No. HIPAA has no certification. HHS states in its 2003 FAQ that no Security Rule standard requires an entity to certify compliance, that HHS does not endorse or recognize private certifications, and that such certifications do not prevent HHS from later finding a violation. The HHS Office for Civil Rights enforces the rule through complaint investigations, compliance reviews and audits. For a cluster, that means you need documented controls, configuration evidence and a risk analysis you can show an investigator, not a badge. Any vendor or consultant offering a HIPAA certificate for a platform should be questioned on that point. Read the HHS FAQ for the original wording.

What drives the effort to configure HIPAA safeguards on Kubernetes?

Effort scales with the number of clusters, how many identity sources must be connected, the volume of API audit logs you must retain and review, and whether the environment is air-gapped. Each cluster needs its own RBAC model, Secrets encryption configuration, TLS settings and audit policy. Identity integration adds work when OIDC must be wired to an existing directory with group mapping and MFA enforced upstream. Air-gapped sites add image mirroring through a private registry, which kubeadm supports with --image-repository. Ask any partner for a written scope listing clusters, identity sources, log destinations, retention, and the environments covered, then compare the quote against that list.

Can our internal team set this up without outside help?

Often yes, if you have engineers who already run Kubernetes in production and someone who can own the compliance mapping. The technical controls are documented in upstream references: RBAC, OIDC authentication, encryption of Secrets at rest, audit policy and TLS. The harder parts are usually organizational: completing the risk analysis that the Security Rule requires, deciding how each addressable specification is handled, documenting the reasoning, and keeping evidence current after every upgrade. Outside help is most useful when the team lacks Kubernetes depth, when deadlines are fixed, or when the cluster must be reviewed by a security assessor before go-live. DeployOpen can plan and implement this work inside your infrastructure under a written scope.

What does the client need to provide before the work starts?

Plan for access and decisions from several owners. Engineering needs administrative access to the target clusters, the node operating systems, the container registry and the network paths between them. Identity needs access to the identity provider, group structure and a named owner for MFA policy. The security or compliance lead should supply the existing risk analysis, any policies that already cover access, logging and encryption, and the list of ePHI workloads in scope. You also need a named compliance owner who can accept decisions on addressable specifications. Ask for these needs in writing during scoping so that delays do not fall on the implementation timeline.

How does the 2025 proposed Security Rule revision affect our plans?

It should not block planning, but it should shape the design. HHS proposed a major Security Rule revision on January 6, 2025 (90 FR 898). As of October 2026 no final rule has been published, and the latest Unified Agenda lists final action as projected for July 2027. Until a final rule exists, the current rule in 45 CFR Part 164 Subpart C governs. Build controls that are easy to evidence, such as documented configuration as code, automated audit log retention and tested backups, so that adjustments are manageable if the final text changes requirements. Confirm the status with your counsel, since the Unified Agenda dates can move.

What penalty ranges apply to HIPAA Security Rule violations?

For penalties assessed on or after January 28, 2026, the inflation-adjusted civil money penalty under 45 CFR 102.3 ranges from $145 per violation, where there was no knowledge, to $2,190,294 per violation for uncorrected willful neglect. The calendar-year cap is $2,190,294. These figures come from the Federal Register notice at 91 FR 3666 and the eCFR table. Penalties depend on the culpability tier and on how quickly a violation is corrected, so the range is a ceiling for planning, not a forecast. Documented controls and timely corrections are what move an organization between tiers.

Which Kubernetes features map most directly to the technical safeguards?

Four areas cover most of the technical standards. Access control in 45 CFR 164.312(a)(1) maps to RBAC and OIDC-based authentication, with unique user identification tied to individual identities. Audit controls under 164.312(b) map to API server audit logs, which you must configure, retain and review. Encryption under 164.312(a)(2)(iv) maps to encryption at rest for Secrets, since Kubernetes stores them unencrypted in etcd by default. Transmission security under 164.312(e)(1) maps to TLS on the API server, etcd and ingress paths. Automatic logoff and emergency access are not covered by Kubernetes itself and need process and identity-provider settings. Confirm each mapping against your own risk analysis.

How DeployOpen scopes and delivers HIPAA-aligned Kubernetes configuration

DeployOpen plans, builds and documents Kubernetes configuration for HIPAA technical safeguards inside infrastructure you control, so your compliance and security teams can review access control, audit logging and Secrets encryption directly. Covered entities and business associates keep the decisions about risk, policy and evidence, and DeployOpen prepares the systems and records those decisions depend on.

How we scope

  • We map your ePHI workloads, the people and services that touch them, and where cluster controls must hold.
  • We record which safeguards are addressable, the reasoning for each choice, and the alternative measures you accept.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any build work starts.

How we build

  • We configure RBAC roles, OIDC sign-in and audit policy on the cluster and the identity provider you already run.
  • We enable encryption at rest for Secrets, restrict list and watch access, and test that the setting holds after changes.
  • We set TLS for ingress and internal traffic and verify certificate handling, renewal and cipher settings with recorded tests.

How we hand over

  • You receive configuration as code, a control-to-setting map and runbooks for access reviews and log retention.
  • We document how audit log records are collected, stored and reviewed, so your team can answer an OCR request.
  • Your staff run a walkthrough of the access, logging and encryption checks so they can repeat them without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering Kubernetes version changes and new workloads.
  • We retest controls after each cluster upgrade, identity change or new ePHI workload is added to the platform.
  • Support covers evidence refresh for your own risk analysis, but DeployOpen does not issue HIPAA certifications or attestations.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.