Azure Management-Plane Access to AKS
Azure RBAC controls management-plane operations such as reading the cluster and retrieving kubeconfig.
Learning status: Not practiced
The moving parts
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.
Connects to