You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-vmware/rotate-cloudadmin-credentials.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Rotate the cloudadmin credentials for Azure VMware Solution
3
3
description: Learn how to rotate the vCenter Server credentials for your Azure VMware Solution private cloud.
4
4
ms.topic: how-to
5
-
ms.date: 08/31/2021
5
+
ms.date: 09/10/2021
6
6
7
7
#Customer intent: As an Azure service administrator, I want to rotate my cloudadmin credentials so that the HCX Connector has the latest vCenter CloudAdmin credentials.
8
8
@@ -16,7 +16,7 @@ ms.date: 08/31/2021
16
16
In this article, you'll rotate the cloudadmin credentials (vCenter Server *CloudAdmin* credentials) for your Azure VMware Solution private cloud. Although the password for this account doesn't expire, you can generate a new one at any time.
17
17
18
18
>[!CAUTION]
19
-
>If you use your cloudadmin user credentials to connect services to vCenter in your private cloud, those connections will stop working once you rotate your password. Those connections will also lock out the cloudadmin account unless you stop those services before rotating the password.
19
+
>If you use your cloudadmin credentials to connect services to vCenter in your private cloud, those connections will stop working once you rotate your password. Those connections will also lock out the cloudadmin account unless you stop those services before rotating the password.
20
20
21
21
## Prerequisites
22
22
@@ -28,13 +28,36 @@ Instead of using the cloudadmin user to connect services to vCenter, we recommen
28
28
29
29
## Reset your vCenter credentials
30
30
31
-
1. From the Azure portal, open an Azure Cloud Shell session.
31
+
### [Portal](#tab/azure-portal)
32
+
33
+
1. In your Azure VMware Solution private cloud, select **Identity**.
34
+
35
+
1. Select **Generate new password**.
36
+
37
+
:::image type="content" source="media/rotate-cloudadmin-credentials/reset-vcenter-credentials-1.png" alt-text="Screenshot showing the vCenter credentials and a way to copy them or generate a new password." lightbox="media/rotate-cloudadmin-credentials/reset-vcenter-credentials-1.png":::
38
+
39
+
1. Select the confirmation checkbox and then select **Generate password**.
1. In your Azure VMware Solution private cloud, open an Azure Cloud Shell session.
32
49
33
50
2. Update your vCenter *CloudAdmin* credentials. Remember to replace **{SubscriptionID}**, **{ResourceGroup}**, and **{PrivateCloudName}** with your private cloud information.
34
51
35
52
```azurecli-interactive
36
53
az resource invoke-action --action rotateVcenterPassword --ids "/subscriptions/{SubscriptionID}/resourceGroups/{ResourceGroup}/providers/Microsoft.AVS/privateClouds/{PrivateCloudName}" --api-version "2020-07-17-preview"
0 commit comments