What is Entra ID integration for AKS, and Azure RBAC vs Kubernetes RBAC?
IntermediateConceptEntra ID, RBAC and Identities
Answer
With AKS-managed Entra integration, users authenticate to the API server with Entra tokens via kubelogin. Authorization can then be:
- Kubernetes RBAC: Roles/RoleBindings that reference Entra group object IDs as subjects.
- Azure RBAC for Kubernetes: built-in roles (
Azure Kubernetes Service RBAC Reader/Writer/Admin/Cluster Admin) assigned in Azure at cluster or namespace scope, evaluated by an authorization webhook.
az aks update -g rg -n aks --enable-aad --enable-azure-rbac --aad-admin-group-object-ids <groupId>
az aks update -g rg -n aks --disable-local-accounts
Disabling local accounts removes the static admin kubeconfig, so all access is auditable and revocable.
More on Entra ID, RBAC and Identities
What is Microsoft Entra ID and how is it different from on-prem Active Directory?BeginnerWhat is the difference between an app registration and a service principal?BeginnerWhat is a managed identity and what problem does it solve?BeginnerSystem-assigned vs user-assigned managed identity: when do you use each?IntermediateHow does Azure RBAC evaluate access?IntermediateName the core built-in roles and the difference between Owner, Contributor and User Access Administrator.Beginner