fINTERACTIVE FIELD GUIDES
People and clusters02 / 30

Control-Plane Authentication

How a person or automation proves its identity to the Kubernetes API server.

Learning status: Not practiced

Control-plane authentication answers: who is calling the Kubernetes API? It does not answer what that caller may do.

Microsoft Entra sign-in

For an Entra-integrated cluster, an operator commonly obtains a kubeconfig with:

az aks get-credentials --resource-group <resource-group> --name <cluster>
kubectl get pods --namespace <namespace>

The kubeconfig uses an exec credential plugin flow; kubelogin obtains or refreshes the caller's Entra credential when kubectl needs one. On modern AKS/Kubernetes versions the generated kubeconfig uses this format. Interactive users sign in as themselves; automation should use an explicitly configured non-interactive identity.

Treat kubectl authentication as a caller-to-Kubernetes-API path. It does not use a pod's projected Workload ID token.

Local admin credentials

AKS local accounts use a cluster-admin credential that bypasses Entra sign-in. Disable local accounts where practical and keep re-enabling them only as a controlled break-glass procedure.

The next question is authorization

A successfully authenticated Entra identity still needs permission. Continue to Control-plane authorization.

Sources: AKS control-plane Entra authentication, kubelogin authentication.