Azure Containers built-in role

Azure Kubernetes Service Contributor Role

Creates and manages AKS managed-cluster resources. Its managedClusters wildcard also covers clusterUser and clusterAdmin credential retrieval, access-profile credential retrieval, and AKS Run Command. It has no Kubernetes API DataActions, but admin credentials and Run Command can operate the Kubernetes API outside this role definition's DataActions.

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: ed7f3fbd-7b88-4dd4-9017-9adb7ce333f8

Control-plane actions (9)

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 cluster when possible. Resource-group, subscription, or management-group assignments are inherited by all AKS resources below the scope and permit lifecycle changes across those clusters.

Common use cases (1)

Prerequisites (2)

Best practices (2)

Security considerations (3)

Assignment guidance

Assign Azure Kubernetes Service Contributor directly on the managed cluster or dedicated AKS resource group only to the platform team that owns lifecycle, credential retrieval, and Run Command. Give application teams namespace-scoped Kubernetes roles and use narrower credential roles when lifecycle management is unnecessary.

Related roles (2)

Common questions

When should I assign the Azure Kubernetes Service Contributor Role Azure role?

Assign Azure Kubernetes Service Contributor Role when you need to: Allow a tightly controlled AKS platform operator to manage cluster lifecycle and, when required, retrieve user or administrator kubeconfig credentials or invoke an approved kubectl or Helm command through AKS Run Command.. Practical scope: Assign on the individual AKS cluster when possible. Resource-group, subscription, or management-group assignments are inherited by all AKS resources below the scope and permit lifecycle changes across those clusters.

What permissions does the Azure Kubernetes Service Contributor Role Azure role grant?

The role definition grants 9 combined control-plane and data-plane actions. Representative operations include: Microsoft.Authorization/*/read; Microsoft.ContainerService/locations/*; Microsoft.ContainerService/managedClusters/*; Microsoft.ContainerService/managedclustersnapshots/*; Microsoft.ContainerService/snapshots/*; and Microsoft.Insights/alertRules/*. Review the permission sections above for the complete definition and exclusions.

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

Key considerations when assigning Azure Kubernetes Service Contributor Role: Cluster lifecycle and configuration changes can affect every workload, node, network path, identity, and availability boundary in the cluster.; The role can retrieve clusterAdmin credentials, which provide administrator access, and Run Command can remotely execute kubectl or Helm and apply attached manifests through an in-cluster command pod.; and The absence of Kubernetes DataActions in the definition is not a workload-access boundary because the included credential and command paths can reach the Kubernetes API.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (8)

Official Microsoft Learn documentation →