fINTERACTIVE FIELD GUIDES
People and clusters04 / 30

Azure Management-Plane Access to AKS

Azure RBAC controls management-plane operations such as reading the cluster and retrieving kubeconfig.

Learning status: Not practiced

AKS is also an Azure Resource Manager resource. Azure RBAC controls who may perform Azure-level operations on it, including who may retrieve cluster credentials with az aks get-credentials.

This permission check is distinct from authorization inside the Kubernetes API:

Azure RBAC: may this caller retrieve the cluster configuration?
Kubernetes authorization: may this caller list secrets in namespace X?

Possessing kubeconfig does not imply a Kubernetes permission grant. Likewise, a Kubernetes RoleBinding does not grant Azure permissions on the AKS resource.

Use the narrowest scope and built-in role that supports the task. Avoid handing out cluster-admin credentials as a shortcut for an Azure Resource Manager access issue.

Source: Control access to AKS cluster configuration files.