NIS2 Article 21(2)(i) and (j) mandate "human resources security, access control policies, and asset management" plus "the use of multi-factor authentication or continuous authentication solutions." MFA isn't optional under NIS2 โ it's a legal requirement for essential and important entities. And access control goes far beyond assigning roles in Active Directory.
NIS2 Identity Requirements
The directive requires:
- Multi-factor authentication โ For all administrative access and privileged operations
- Continuous authentication โ Risk-based authentication that evaluates context (location, device, behavior)
- Access control policies โ Least privilege, role-based access, regular access reviews
- Secured communications โ Encrypted voice, video, and text for sensitive communications
- Emergency access procedures โ Break-glass access with full audit trail
Enterprise IAM Architecture
Identity Provider (IdP)
Centralize authentication through a modern IdP: Keycloak (open source), Okta, or Azure AD. Enforce MFA on all accounts โ phishing-resistant methods preferred (FIDO2/WebAuthn hardware keys, passkeys). SMS-based MFA is the minimum acceptable; TOTP is better; hardware tokens are best.
Privileged Access Management
Administrative access requires additional controls:
- Just-in-time (JIT) access โ No standing privileges. Request access for specific duration and scope.
- Session recording โ All privileged sessions recorded and auditable
- Approval workflows โ Multi-party approval for critical system access
- Break-glass procedures โ Emergency access that triggers immediate alerts and audit
Kubernetes RBAC
For platform engineering, Kubernetes RBAC is a critical control surface. Map your organizational roles to Kubernetes ClusterRoles and Roles. Use namespace isolation for multi-tenant environments. Integrate Kubernetes authentication with your IdP via OIDC. Never share kubeconfig files โ issue individual credentials.
Service Identity
Non-human identities need the same rigor. Use SPIFFE/SPIRE for workload identity. Kubernetes service accounts with bound tokens. Short-lived credentials for CI/CD pipelines. No long-lived API keys or service account tokens stored in environment variables.
Kubernetes Recipes
A practical guide for container orchestration and deployment by Grzegorz Stencel & Luca Berton (Apress).
Watch on Skillshare โAccess Review Automation
NIS2 requires regular assessment of access controls. Automate quarterly access reviews: export current access assignments, flag over-privileged accounts, identify dormant accounts, and generate review reports for management sign-off. Revoke access automatically when employees change roles or leave.
What Open Empower Delivers
We implement NIS2-compliant identity infrastructure: centralized IAM with MFA, privileged access management, Kubernetes RBAC, workload identity, and automated access reviews. Identity is the new perimeter โ we build it right.
IT Automation with Ansible Quickstart
Automate IT tasks, deploy apps, and streamline workflows in 40 minutes.
Start on Skillshare โ
Luca Berton
