Azure Containers built-in role

Azure Kubernetes Service Cluster User Role

Azure Kubernetes Service Cluster User Role authorizes retrieval of the clusterUser kubeconfig for AKS managed cluster through an Azure control-plane list-credential Action. The returned user kubeconfig establishes a connection and authentication context; Kubernetes authorization remains governed separately by Microsoft Entra, Azure RBAC, or Kubernetes RBAC.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: 4abbcc35-e782-43d8-92c5-2d3f1bd2253f

Control-plane actions (2)

Data-plane actions (0)

None — this role grants no data-plane (data access) actions.

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign on the individual AKS managed cluster. A resource-group or broader assignment is inherited by every matching resource below it and permits credential retrieval for each inherited cluster.

Common use cases (1)

Prerequisites (2)

Best practices (2)

Security considerations (2)

Assignment guidance

Assign Azure Kubernetes Service Cluster User Role directly on the AKS managed cluster to the identity that must retrieve the clusterUser kubeconfig. Add the appropriate Kubernetes API role separately and validate credential retrieval and Kubernetes authorization independently; on an AKS cluster without Microsoft Entra integration, clusterUser has the same effect as clusterAdmin.

Related roles (2)

Common questions

When should I assign the Azure Kubernetes Service Cluster User Role Azure role?

Assign Azure Kubernetes Service Cluster User Role when you need to: Allow an approved user or automation identity to obtain the user kubeconfig needed to connect to one AKS managed cluster.. Practical scope: Assign on the individual AKS managed cluster. A resource-group or broader assignment is inherited by every matching resource below it and permits credential retrieval for each inherited cluster.

What permissions does the Azure Kubernetes Service Cluster User Role Azure role grant?

The role definition grants 2 combined control-plane and data-plane actions. Representative operations include: Microsoft.ContainerService/managedClusters/listClusterUserCredential/action; and Microsoft.ContainerService/managedClusters/read. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Azure Kubernetes Service Cluster User Role Azure role?

Key considerations when assigning Azure Kubernetes Service Cluster User Role: On Microsoft Entra-integrated AKS, clusterUser prompts the user to sign in and authorization follows that identity; on clusters without Microsoft Entra integration, Microsoft documents that clusterUser has the same effect as clusterAdmin.; and A broad inherited Azure assignment allows credential retrieval from multiple clusters.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →