File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
articles/azure-arc/kubernetes Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -716,6 +716,11 @@ node-3 Ready agent 6m33s v1.18.14
716
716
717
717
If the secret for the server application's service principal has expired, you'll need to rotate it.
718
718
719
+ # ## [Azure CLI >= v2.3.7](#tab/AzureCLI)
720
+ ` ` ` azurecli
721
+ SERVER_APP_SECRET=$(az ad sp credential reset --id "${SERVER_APP_ID}" --query password -o tsv)
722
+ ` ` `
723
+ # ## [Azure CLI < v2.3.7](#tab/AzureCLI236)
719
724
` ` ` azurecli
720
725
SERVER_APP_SECRET=$(az ad sp credential reset --name "${SERVER_APP_ID}" --credential-description "ArcSecret" --query password -o tsv)
721
726
` ` `
@@ -726,6 +731,8 @@ Update the secret on the cluster. Include any optional parameters you configured
726
731
az connectedk8s enable-features -n <clusterName> -g <resourceGroupName> --features azure-rbac --app-id "${SERVER_APP_ID}" --app-secret "${SERVER_APP_SECRET}"
727
732
` ` `
728
733
734
+ ---
735
+
729
736
# # Next steps
730
737
731
738
- Securely connect to the cluster by using [Cluster Connect](cluster-connect.md).
You can’t perform that action at this time.
0 commit comments