Skip to content

Commit 00860ec

Browse files
committed
updated H2 and section details about updating credentials on cluster
1 parent 31c5c92 commit 00860ec

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

articles/aks/update-credentials.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ Use the variable *SP_ID* containing the service principal ID to reset the creden
5454
SP_SECRET=$(az ad app credential reset --id "$SP_ID" --query password -o tsv)
5555
```
5656

57-
Next, you [update AKS cluster with new service principal credentials][update-cluster-new-service-principal-credentials]. This step is necessary to update the service principal on your AKS cluster.
58-
59-
>[!IMPORTANT]
60-
>For large clusters, updating your AKS cluster with a new service principal may take a long time to complete. Consider reviewing and customizing the [node surge upgrade settings][node-surge-upgrade] to minimize disruption during the update. For small and midsize clusters, it takes a several minutes for the new credentials to update in the cluster.
57+
Next, you [update AKS cluster with existing service principal credentials][update-cluster-new-service-principal-credentials]. This step is necessary to update the service principal on your AKS cluster.
6158

6259
### Create a new service principal
6360

@@ -81,21 +78,21 @@ The output is similar to the following example output. Make a note of your own `
8178
}
8279
```
8380

84-
Define variables for the service principal ID and client secret using your output from running the [`az ad sp create-for-rbac`][az-ad-sp-create] command. The *SP_ID* is your *appId*, and the *SP_SECRET* is your *password*.
81+
Define variables for the service principal ID and client secret using your output from running the [`az ad sp create-for-rbac`][az-ad-sp-create] command. The *SP_ID* is the *appId*, and the *SP_SECRET* is your *password*.
8582

8683
```console
8784
SP_ID=7d837646-b1f3-443d-874c-fd83c7c739c5
8885
SP_SECRET=a5ce83c9-9186-426d-9183-614597c7f2f7
8986
```
9087

91-
Next, you can [update AKS cluster with new service principal credentials][update-cluster-new-service-principal-credentials]. This step is necessary for the Service Principal changes to reflect on the AKS cluster.
88+
Next, you [update AKS cluster with new service principal credentials][update-cluster-new-service-principal-credentials]. This step is necessary for the Service Principal changes to reflect on the AKS cluster.
9289

93-
## Update AKS cluster with new service principal credentials
90+
## Update AKS cluster with service principal credentials
9491

95-
> [!IMPORTANT]
96-
> For large clusters, updating the AKS cluster with a new service principal may take a long time to complete. Consider reviewing and customizing the [node surge upgrade settings][node-surge-upgrade] to minimize disruption during cluster updates and upgrades. For small and midsize clusters, it takes a few moments for the new credentials to update in the cluster.
92+
>[!IMPORTANT]
93+
>For large clusters, updating your AKS cluster with a new service principal may take a long time to complete. Consider reviewing and customizing the [node surge upgrade settings][node-surge-upgrade] to minimize disruption during the update. For small and midsize clusters, it takes a several minutes for the new credentials to update in the cluster.
9794
98-
Update the AKS cluster with your new credentials using the [`az aks update-credentials`][az-aks-update-credentials] command.
95+
Update the AKS cluster with your new or existing credentials by running the [`az aks update-credentials`][az-aks-update-credentials] command.
9996

10097
```azurecli-interactive
10198
az aks update-credentials \
@@ -136,5 +133,5 @@ In this article, you learned how to update or rotate service principal and Azure
136133
[az-ad-app-credential-reset]: /cli/azure/ad/app/credential#az_ad_app_credential_reset
137134
[node-image-upgrade]: ./node-image-upgrade.md
138135
[node-surge-upgrade]: upgrade-cluster.md#customize-node-surge-upgrade
139-
[update-cluster-new-service-principal-credentials]: #update-aks-cluster-with-new-service-principal-credentials
136+
[update-cluster-new-service-principal-credentials]: #update-aks-cluster-with-service-principal-credentials
140137
[reset-existing-service-principal-credentials]: #reset-the-existing-service-principal-credentials

0 commit comments

Comments
 (0)