Skip to content
Healthcare-Only Web Studio•BAA Requirements Documented•NHS Digital Standards•WCAG 2.2 AA
Healthcare-Only Web Studio•BAA Requirements Documented•NHS Digital Standards•WCAG 2.2 AA

Kubernetes HIPAA Compliant Healthcare Deployments: Configuration Over Certification

Kubernetes does not make a healthcare workload HIPAA compliant by default. Learn how to configure Secrets encryption, Pod Security Standards, Network Policies, and audit logging across EKS, GKE, and AKS to reduce infrastructure security risks.

Kubernetes HIPAA Compliant Healthcare Deployments: Configuration Over Certification
5 min read
Kubernetes HIPAA
EKS HIPAA Compliance
GKE HIPAA
AKS HIPAA
Kubernetes Secrets Encryption
Pod Security Standards
Network Policies HIPAA
Table of Content

HIPAA Compliance

Reviewed and updated for the latest HIPAA Compliance developments and related healthcare compliance standards.

Deploying healthcare workloads on Kubernetes gives engineering teams control over application infrastructure, scaling, and deployment processes. However, a managed cluster does not automatically address the security requirements associated with protected health information (PHI).

Kubernetes HIPAA compliant healthcare deployments depend on the underlying cloud service agreement and the configuration of the entire environment. One common risk sits inside Kubernetes Secrets, which use reversible base64 encoding by default rather than encryption.

For healthcare IT directors, CTOs, and engineering leaders, the challenge is translating HIPAA requirements into specific infrastructure controls. Your team must understand where business associate agreement (BAA) coverage applies, how workloads access sensitive data, and whether security events remain auditable.

The priority is not obtaining a Kubernetes certification. It is building a deployment architecture with documented safeguards, restricted access, and evidence that your controls operate as intended.

Why Kubernetes Is Not a HIPAA-Eligible Service and What That Actually Means

Kubernetes is a container orchestration platform, not a standalone HIPAA-eligible cloud service. Its role is to manage containerised applications, while the underlying infrastructure and managed service determine which cloud services may fall within a provider's BAA. For the underlying cloud platform, review AWS HIPAA eligible services, and for pipeline controls, see HIPAA compliant CI/CD pipelines.

This distinction matters when evaluating HIPAA Kubernetes container orchestration. Your engineering team must assess the managed Kubernetes service, supporting cloud services, and customer-managed configuration separately.

Where the BAA Coverage Sits: EKS, GKE, and AKS, Not Kubernetes Itself

Amazon Elastic Kubernetes Service (EKS), Google Kubernetes Engine (GKE), and Azure Kubernetes Service (AKS) are managed Kubernetes offerings. Their availability for HIPAA-regulated workloads depends on the provider's eligibility terms and applicable BAA.

The BAA does not automatically extend to every service, integration, or configuration connected to a cluster. Your team must verify that each relevant service falls within the provider's current terms.

For a broader cloud infrastructure assessment, start with our guide to AWS HIPAA eligible services and our healthcare hosting compliance overview. Apply the same service-by-service review when evaluating Google Cloud or Azure.

Why a Managed Kubernetes Cluster on HIPAA-Eligible Infrastructure Still Needs Configuration

A managed service can reduce the operational burden of maintaining the Kubernetes control plane. It does not configure every application-level security control required for your healthcare workload.

Consider a cluster that uses an eligible cloud service but stores database credentials in unencrypted Kubernetes Secrets. The underlying infrastructure agreement does not resolve the risk created by those credentials.

Your configuration review should cover:

  • Encryption of sensitive data at rest.
  • Authentication and role-based access control.
  • Pod security and privilege restrictions.
  • Network segmentation between workloads.
  • API server audit logging and retention.
  • Access to external services that process or store PHI.

These controls must align with your risk analysis, documented policies, and the way your application actually handles patient information.

The Shared Responsibility Model Applied to Container Orchestration

Cloud providers manage defined parts of the infrastructure, while your organisation remains responsible for customer-controlled settings and application behaviour. The exact division depends on the service and its contractual terms.

In practice, document ownership for each control before deployment. Your infrastructure team may manage cluster settings, while application teams control secret consumption, service permissions, and data flows.

A shared responsibility matrix helps prevent gaps between DevOps, security, compliance, and application engineering. It should identify the control owner, evidence source, review frequency, and escalation route.

Review Your Kubernetes Secrets Configuration

Running a healthcare workload on Kubernetes and unsure whether your Secrets or audit logs meet HIPAA requirements? A configuration review can help identify gaps before they affect production workloads.

Talk to our healthcare DevOps team →

Kubernetes Secrets Are Not Encrypted: The Most Common Healthcare Misconfiguration

A critical Kubernetes healthcare HIPAA deployment risk is assuming that Kubernetes Secrets are encrypted because they are stored as Secret objects. By default, Kubernetes stores Secret data in etcd using base64 encoding, which is reversible and does not provide encryption.

Anyone with sufficient access to the stored values can decode them. If those values include database credentials, API tokens, or other sensitive information, weak access controls can expose systems handling PHI.

The practical objective is to reduce exposure both in storage and during access. Teams should choose a secrets management pattern that matches their cloud environment, threat model, and operational requirements.

Why Base64 Encoding Is Not Encryption

Base64 converts data into a different representation. It does not protect information with a cryptographic key or prevent someone with access to the encoded value from recovering the original content.

A Kubernetes Secret containing a database password can therefore remain exposed even when the configuration appears to use a dedicated Secret resource.

During healthcare implementations, teams should inspect both how credentials are stored and which identities can retrieve them. Namespace boundaries and service account permissions matter, but they do not replace encryption at rest.

Start by identifying:

  • Secrets containing database credentials or service tokens.
  • Workloads and service accounts that can read each Secret.
  • Whether etcd encryption at rest is enabled.
  • Whether application logs or deployment manifests expose secret values.
  • How credentials are rotated and access is reviewed.

Treat the results as part of your infrastructure risk assessment rather than assuming the presence of a Secret object proves protection.

Enabling etcd Encryption with a KMS Provider Key

Kubernetes supports encryption at rest for API data, including Secrets stored in etcd. Teams can configure an encryption provider that uses a key management service to protect sensitive values.

Depending on the cloud environment, this may involve AWS Key Management Service (AWS KMS), Google Cloud Key Management Service, or Azure Key Vault. The exact integration and configuration steps depend on the managed Kubernetes service and its supported encryption features.

Before enabling encryption, confirm the service's current capabilities and the applicable key management configuration. A correct setup must address key permissions, rotation, access monitoring, and recovery procedures.

Implementation considerations include:

  1. 1.Confirm which Kubernetes resources require encryption at rest.
  2. 2.Configure a supported encryption provider and KMS key.
  3. 3.Verify that new writes use the configured encryption method.
  4. 4.Re-encrypt existing stored resources where required.
  5. 5.Test access restrictions and recovery procedures.
  6. 6.Document key ownership, rotation, and incident response responsibilities.

Enabling encryption does not eliminate every exposure path. An authorised workload may still retrieve a Secret, so application permissions and workload isolation remain essential.

External Secrets Operator: Pulling Secrets from AWS Secrets Manager, GCP Secret Manager, or HashiCorp Vault

External Secrets Operator synchronises secrets from an external secrets management system into Kubernetes. Supported backends include AWS Secrets Manager, Google Cloud Secret Manager, and HashiCorp Vault.

This approach allows teams to centralise credential storage and apply the external provider's access policies. However, when the operator creates Kubernetes Secret objects, the resulting values may still be stored in etcd.

That distinction is important for healthcare workloads. External Secrets Operator does not automatically eliminate Kubernetes Secret storage or its encryption requirements.

If your architecture must avoid storing sensitive values in Kubernetes Secrets, consider an integration that retrieves secrets directly from the external store at runtime. Validate the chosen method against application compatibility, identity permissions, rotation behaviour, and audit requirements.

Based on our healthcare IT experience, secrets management decisions should account for the full lifecycle, from provisioning and retrieval to rotation, revocation, and incident investigation.

Which Approach to Choose and When

The right design depends on whether your priority is centralised management, reduced exposure in etcd, or compatibility with existing workloads.

Consider these approaches:

  • Kubernetes Secrets with etcd encryption: Suitable when applications already consume native Kubernetes Secrets and your team can configure and validate encryption at rest.
  • External Secrets Operator: Useful when credentials must remain managed in an external secrets store while applications continue consuming Kubernetes Secret objects.
  • Direct runtime retrieval: Worth evaluating when your architecture aims to avoid placing sensitive values in Kubernetes Secrets entirely.

Avoid selecting an approach solely because it is commonly used in cloud-native environments. Confirm how each option handles permissions, credential rotation, logging, availability, and application failures.

Did You Know ?

Kubernetes is not itself a HIPAA-eligible service. HIPAA compliance for a Kubernetes healthcare deployment depends on the underlying managed service BAA, such as EKS, GKE, or AKS, plus correct configuration. This includes encrypted Secrets, pod security standards, network isolation, and API server audit logs.

Pod Security Standards and Privilege Escalation Prevention

Kubernetes healthcare security requires controls that restrict what containers can do, which host resources they can access, and whether they can gain elevated privileges. These decisions should be part of your deployment architecture, not a last-minute hardening exercise.

A container running inside a healthcare cluster should receive only the permissions and system capabilities its application requires. This is particularly important for workloads that process PHI or communicate with systems that do.

How Pod Security Policies Were Replaced by Pod Security Standards in Kubernetes 1.25

Pod Security Policies (PSP) were deprecated in Kubernetes 1.21 and removed in Kubernetes 1.25. The current approach uses Pod Security Standards (PSS), which define three security profiles: Privileged, Baseline, and Restricted.

The profiles serve different purposes:

  • Privileged imposes no restrictions through the profile.
  • Baseline prevents known privilege escalations and restricts certain risky configurations.
  • Restricted applies stronger controls for workloads requiring tighter security.

Teams maintaining older deployment templates should check for references to PSP. Documentation that relies on a removed mechanism may no longer describe how the current cluster enforces pod security.

The official Kubernetes documentation on Pod Security Standards provides the profile definitions and implementation guidance. Review those definitions against your cluster version and deployment tooling.

The Restricted Profile and Why It Is the Right Baseline for PHI-Adjacent Workloads

The Restricted profile provides a strong baseline for workloads that handle PHI or have access to sensitive healthcare systems. It limits risky container configurations and supports a more restrictive deployment posture.

However, applying a profile does not establish complete HIPAA compliance. Your team must still assess application permissions, network paths, secrets access, storage, and logging.

For implementation, begin with namespaces that contain patient-facing APIs, clinical workflows, or services that can retrieve PHI. Apply the Restricted profile where compatible, then document and review any exceptions.

Avoid granting broad privileges to resolve application problems quickly. If a workload requires an exception, identify the specific requirement and apply the narrowest permitted configuration.

Preventing Privilege Escalation, Host Network Access, and Privileged Containers in Practice

A restrictive pod configuration should prevent unnecessary access to the host and limit the ability of a compromised container to affect other workloads.

Review these settings during deployment:

  • Disallow privileged containers unless a documented requirement justifies an exception.
  • Prevent privilege escalation where supported by the workload.
  • Restrict host network and host namespace access.
  • Avoid unnecessary host path mounts.
  • Run containers as non-root where the application permits.
  • Apply resource and capability restrictions appropriate to the workload.

During compliance projects, engineering teams should test these controls against actual application requirements. A policy that blocks deployment but has no documented exception process often leads to inconsistent workarounds.

Use admission controls and automated deployment checks to catch prohibited settings before workloads reach production. Retain the results as evidence of your configuration process.

Network Policies and Namespace Isolation for PHI Workloads

Healthcare app Kubernetes compliance also depends on controlling communication between workloads. Kubernetes networking commonly permits pod-to-pod communication by default unless your cluster networking configuration applies restrictions.

Without Network Policies, a compromised workload may be able to reach services it does not need. That can increase the exposure of internal APIs, databases, and services that process PHI.

Why the Default Allow-All Pod Networking Creates a PHI Exposure Risk

Network reachability does not necessarily mean a workload has permission to read patient data. However, unnecessary connectivity creates additional paths that attackers or compromised applications may attempt to exploit.

For example, a public-facing API should not automatically have unrestricted network access to every internal service. Its required communication paths should be defined explicitly.

Review traffic in both directions. Ingress controls restrict which workloads can connect to a service, while egress controls limit where a workload can send traffic.

Namespace Isolation as the Architectural Pattern for Separating PHI Services

Namespaces help organise workloads and provide a useful boundary for applying security policies. They do not automatically isolate network traffic or guarantee that resources within one namespace cannot access another.

A practical design separates workloads according to their roles and data access requirements. For example, public-facing services, internal APIs, and PHI-handling services may require distinct namespaces and different policies.

Namespace design should reflect actual application dependencies rather than team ownership alone. A service account, deployment pipeline, or shared utility may otherwise introduce access paths that bypass the intended separation.

Writing Effective Network Policies for Ingress and Egress Control

Network Policies allow teams to define permitted pod communication, subject to the capabilities of the cluster's network implementation. Verify that your networking provider supports and enforces the policies you deploy.

A deny-by-default approach provides a useful starting point for sensitive namespaces. Add explicit rules for required application traffic, including database connections, internal API calls, and approved external dependencies.

For each policy, document:

  • The source workload and destination.
  • The required protocol and port.
  • Whether the rule controls ingress or egress.
  • The business or technical reason for the connection.
  • The owner responsible for reviewing the rule.

Test policy changes in a controlled environment before production rollout. Automated connectivity tests can help identify both accidental exposure and broken application dependencies.

API Server Audit Logs and HIPAA's Record Retention Requirement

Kubernetes API server audit logs provide evidence of activity against the Kubernetes API. For healthcare environments, they can support investigations into administrative changes, access patterns, and suspicious operations affecting sensitive workloads.

The HIPAA Security Rule at 45 CFR 164.312(b) requires covered entities and business associates to implement mechanisms that record and examine activity in information systems containing or using PHI. Kubernetes audit logging can contribute to that control when configured to capture relevant activity.

The HIPAA Privacy Rule at 45 CFR 164.530(j) requires certain documentation to be retained for six years from its creation or the date it was last in effect, whichever is later. The Security Rule does not independently prescribe a universal six-year retention period for every audit log.

Your retention policy should identify which logs qualify as required documentation and how the organisation applies the applicable retention rules. Avoid treating all audit logs as disposable operational telemetry.

What Audit Log Levels the Kubernetes API Server Provides and Which to Enable

Kubernetes audit policies determine which API requests are recorded and how much information each event contains. The available audit levels include None, Metadata, Request, and RequestResponse.

These levels capture different amounts of information:

  • None excludes matching events from audit logging.
  • Metadata records request metadata without request or response bodies.
  • Request adds the request body.
  • RequestResponse records both request and response bodies.

RequestResponse can provide detailed evidence for selected operations, but it may also capture sensitive values. Apply it selectively and assess the risk of recording credentials, tokens, or other PHI in log content.

For PHI-adjacent workloads, define the events that require detailed records and use an appropriate level for each category. A broad policy that records every request and response can create a secondary sensitive-data store requiring its own safeguards.

Routing Audit Logs to a Covered Destination: CloudWatch Logs, Cloud Logging, Azure Monitor

Managed Kubernetes environments offer integrations for sending audit records to cloud logging services. Depending on the platform and configuration, these may include Amazon CloudWatch Logs, Google Cloud Logging, or Azure Monitor.

Do not assume that audit logging is enabled, complete, or retained for the required period simply because the managed service supports it. Verify the configuration for your specific cluster and service plan.

Your logging pipeline should address:

  1. 1.Which control-plane and application events are collected.
  2. 2.Where the records are stored.
  3. 3.Which identities can read, change, or delete them.
  4. 4.Whether the destination falls within the applicable BAA scope.
  5. 5.How alerts reach the responsible security team.
  6. 6.How logs are protected against unauthorised modification.

The destination must be assessed separately from the Kubernetes service. Confirm service eligibility and contractual coverage before sending PHI or other sensitive information to a logging platform.

For related safeguards, see our breakdown of HIPAA technical safeguards. Apply its principles alongside Kubernetes-specific event collection and review procedures.

Meeting the Six-Year HIPAA Retention Requirement for Audit Logs

Retention requires more than choosing a number of days in a cloud logging console. Your organisation must determine which records fall under applicable documentation requirements and configure storage accordingly.

The six-year requirement under 45 CFR 164.530(j) applies to documentation specified by the Privacy Rule. It should not be described as a blanket Security Rule requirement covering every operational log.

Work with your compliance and security teams to map relevant records to the appropriate retention policy. Include audit policies, risk analysis documentation, incident records, and other required materials where applicable.

Before deployment, test whether logs remain available for the required period. Check access permissions, deletion controls, export procedures, and the ability to retrieve historical events during an investigation.

A Practical HIPAA Configuration Checklist for Healthcare Kubernetes Deployments

Use this checklist to assess the main controls before deploying or materially changing a healthcare workload. It complements your formal risk analysis and should not replace legal, compliance, or security review.

Service Eligibility and Infrastructure

  • Confirm that the managed Kubernetes service and relevant supporting services fall within the applicable BAA.
  • Document provider responsibilities and customer-managed controls.
  • Verify the service's supported encryption and audit logging capabilities.

Secrets and Workload Security

  • Enable and validate encryption at rest for Kubernetes Secrets where they are used.
  • Review external secrets management and direct retrieval options.
  • Apply the Restricted Pod Security Standard to suitable PHI-adjacent workloads.
  • Restrict privileged containers, host access, and unnecessary Linux capabilities.

Network Isolation and Audit Evidence

  • Separate sensitive workloads into appropriately designed namespaces.
  • Apply default-deny Network Policies and explicitly allow required traffic.
  • Route Kubernetes API server audit logs to an appropriately covered destination.
  • Verify access controls, retention settings, monitoring, and retrieval procedures.

Documenting and Maintaining the Controls

Configuration is not a one-time task. Cluster upgrades, new services, changed identities, and deployment pipeline modifications can introduce new risks.

Maintain evidence that includes configuration exports, policy definitions, access reviews, encryption settings, and audit log tests. Assign an owner to each control and define when the team must review it.

If your healthcare platform also includes a public-facing website or application, assess its data flows separately. Qrolic Health provides HIPAA compliant website development for organisations planning healthcare platforms that must account for patient data and regulatory requirements.

Conclusion

Kubernetes can support healthcare workloads, but the platform does not make those workloads HIPAA compliant by default. Your organisation must verify the managed service's BAA coverage and configure the infrastructure, applications, and supporting services appropriately.

Start with the controls that can expose sensitive information directly. Protect Kubernetes Secrets at rest, restrict workload privileges, and apply Network Policies that permit only necessary communication. Then ensure API server audit logs capture relevant activity and remain available under the appropriate retention policy.

The most effective approach combines technical controls with clear ownership, documented risk decisions, and repeatable deployment checks. Treat compliance as an ongoing responsibility across engineering, security, and operations rather than a certification exercise.

For healthcare organisations planning or reviewing a Kubernetes deployment, a focused configuration assessment can help identify gaps before they become operational or compliance problems.

Review Your Healthcare Kubernetes Configuration

A Kubernetes Secret containing sensitive information may remain readable when base64 encoding is mistaken for encryption. Unreviewed network access and incomplete audit logging can create additional risks for healthcare workloads. For the hosting layer beneath your cluster, review HIPAA compliant hosting requirements. Qrolic Health can help your team assess healthcare platform architecture and the configuration decisions that affect patient data protection.

Talk to our healthcare DevOps team →

Frequently Asked Questions

Is Kubernetes HIPAA compliant?

Kubernetes itself is not a HIPAA-eligible service. Compliance depends on the underlying managed service's BAA coverage and your configuration of Secrets, pod security, network isolation, access controls, and audit logging.

How do I secure Kubernetes Secrets for a HIPAA healthcare workload?

Enable encryption at rest using a supported KMS provider, or evaluate external secrets management. External Secrets Operator can retrieve values from AWS Secrets Manager, Google Cloud Secret Manager, or HashiCorp Vault, but synchronised Kubernetes Secrets may still reside in etcd.

What audit logging does HIPAA require for Kubernetes?

The HIPAA Security Rule requires mechanisms to record and examine activity in systems containing or using PHI. Configure Kubernetes API audit logging for relevant events, protect the destination, and apply appropriate documentation retention policies.

What replaced Pod Security Policies in Kubernetes?

Pod Security Standards replaced Pod Security Policies, which were removed in Kubernetes 1.25. The standards define Privileged, Baseline, and Restricted profiles. Restricted provides a strong starting point for suitable workloads that handle or access PHI.

How should namespaces be structured for a HIPAA-compliant Kubernetes cluster?

Separate workloads according to their data access and security requirements. Apply suitable Pod Security Standards and Network Policies, then verify that service accounts and permitted network paths do not undermine the intended separation.

Do Network Policies prevent pod-to-pod PHI leakage by default?

No. Kubernetes networking does not automatically provide the isolation required by every healthcare application. Apply Network Policies supported by your network implementation, begin with restrictive rules, and explicitly permit necessary ingress and egress traffic.

Does EKS automatically meet HIPAA requirements as a managed Kubernetes service?

Amazon EKS may be used for HIPAA-regulated workloads under applicable AWS terms and BAA coverage. Eligibility does not establish compliance by itself. Your organisation remains responsible for customer-managed configuration, application security, access controls, and evidence.

Can HashiCorp Vault replace AWS Secrets Manager for Kubernetes HIPAA workloads?

HashiCorp Vault can serve as an external secrets backend with External Secrets Operator. It may suit teams requiring a vendor-independent secrets management layer, but you must assess access controls, deployment architecture, auditability, and the applicable contractual requirements.

Qrolic Health Technical Team

Qrolic Health Technical Team

Healthcare Technology Expert
Qrolic Health - Healthcare Website Design Specialists

The Qrolic Health Technical Team shares practical insights on healthcare website development, HIPAA compliance, healthcare cybersecurity, patient portals, telehealth platforms, and digital health solutions. Our content focuses on helping healthcare organizations, clinics, hospitals, pharmacies, and health technology companies build secure, accessible, high-performing digital experiences. We cover technical implementation, regulatory considerations, website performance, data protection, and best practices for healthcare technology, helping readers make informed decisions about their digital infrastructure.

Qrolic Health - Healthcare Website Design Specialists

Ready to Build Your Healthcare Platform?

Work with a team that understands HIPAA, accessibility, and healthcare digital experiences from day one.

Service we offer:
HIPAA-Compliant Websites
Healthcare Website Design
Telehealth Platforms
Website Redesign & Migration
Healthcare SEO

Ready to Start Your Healthcare Project?

Let's discuss your goals and show you how we can build a secure, accessible, and high-performing healthcare website.

Healthcare projects portfolio brief - HIPAA & NHS Compliant Web Development