Skip to content

Commit c5af703

Browse files
authored
Update managed-aad.md
1 parent 9179384 commit c5af703

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/aks/managed-aad.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,17 @@ In order to access the cluster, follow the steps in [access an Azure AD enabled
144144

145145
There are some non-interactive scenarios, such as continuous integration pipelines, that aren't currently available with `kubectl`. You can use [`kubelogin`](https://github.com/Azure/kubelogin) to connect to the cluster with a non-interactive service principal credential.
146146

147-
Starting with Kubernetes 1.24, the default format of clusterUser credential for AAD enabled clusters will be `exec`, which requires [kubelogin](https://github.com/Azure/kubelogin) binary in the execution PATH. If you are using Azure CLI, it will prompt users to download kubelogin. There will be no behavior change for non-AAD clusters, or AAD clusters whose version is older than 1.24. Existing downloaded kubeconfig will still work.
147+
Starting with Kubernetes version 1.24, the default format of the clusterUser credential for Azure AD clusters is `exec`, which requires [kubelogin](https://github.com/Azure/kubelogin) binary in the execution PATH. If you use the Azure CLI, it prompts you to download kubelogin. For non-Azure AD clusters, or Azure AD clusters where the version of Kubernetes is older than 1.24, there is no change in behavior. The version of kubeconfig installed continues to work.
148148

149-
We provide an optional query parameter `format` when getting clusterUser credential to overwrite the default behavior change, you can explicitly specify format to `azure` to get old format kubeconfig.
149+
An optional query parameter named `format` is available when retrieving the clusterUser credential to overwrite the default behavior change. You can set the value to `azure` to use the original kubeconfig format.
150150

151151
Example:
152152

153153
```azurecli-interactive
154154
az aks get-credentials --format azure
155155
```
156156

157-
For AAD clusters whose version is newer than 1.24, it will return to kubelogin format automatically and no conversion needed. For AAD clusters whose version is older than 1.24, you need to run the below commands to convert kube config format manually.
157+
For Azure AD integrated clusters using a version of Kubernetes newer than 1.24, it uses the kubelogin format automatically and no conversion is needed. For Azure AD integrated clusters running a version older than 1.24, you need to run the following commands to convert the kubeconfig format manually
158158

159159
```azurecli-interactive
160160
export KUBECONFIG=/path/to/kubeconfig

0 commit comments

Comments
 (0)