Azure AKS Client Secret expired - How to change? Azure AKS Client Secret expired - How to change? kubernetes kubernetes

Azure AKS Client Secret expired - How to change?


AKS client credentials can be updated via command:

az aks update-credentials \    --resource-group myResourceGroup \    --name myAKSCluster \    --reset-service-principal \    --service-principal $SP_ID \    --client-secret $SP_SECRET

Official documentation: https://docs.microsoft.com/en-us/azure/aks/update-credentials#update-aks-cluster-with-new-credentials


There is no way of doing that yet, officially supported, at least.

https://github.com/Azure/AKS/issues/371

EDIT: this answer is outdated, this is now possible