I'm trying to get AKS credentials set up for a gitlab-runner environment. I can get a basic kubeconfig with az aks get-credentials -n mythingname -g myresourcegroup -f kubeconfig
but the resulting kubeconfig doesn't have access or refresh tokens.
Using the Azure CLI command az account get-access-token
gets me an access token, but it doesn't come with a refresh token.
I've looked around and I either can't find an answer or can't find the right google search terms to find the answer. Microsoft's own documentation for Azure CLI is unenlightening on this topic.