Azure / Azure/azure-cli

az aks get-credentials should automatically convert generated config with azure kubelogin when AAD integrated cluster

Open
#20,511 14 comments 12 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.