az aks get-credentials should automatically convert generated config with azure kubelogin when AAD integrated cluster
Open
act-observability-squad
AKS
customer-reported
feature-request
Service Attention
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Is your feature request related to a problem? Please describe.**
For AzureAD integrated aks clusters `kubelogin convert-kubeconfig` is required to renew credentials, it's easy to forget/overlook this extra step and have credentials expire making users unable to access the cluster until they do a new `az aks get credentials`.
**Describe the solution you'd like**
It would be a better user experience if `az aks get-credentials` would automatically detect AAD integration and do the conversion step.
**Describe alternatives you've considered**
If that is unreliable having a flag such as `--aad` would also be acceptable.
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.