Skip to content

Commit 28dfa4b

Browse files
authored
Merge pull request #178386 from suzizuber/rotate-cloudadmin-credentials
Rotate cloudadmin credentials
2 parents 709f91d + 0a62a5b commit 28dfa4b

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed
106 KB
Loading
69.9 KB
Loading

articles/azure-vmware/rotate-cloudadmin-credentials.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Rotate the cloudadmin credentials for Azure VMware Solution
33
description: Learn how to rotate the vCenter Server credentials for your Azure VMware Solution private cloud.
44
ms.topic: how-to
5-
ms.date: 08/31/2021
5+
ms.date: 09/10/2021
66

77
#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.
88

@@ -16,7 +16,7 @@ ms.date: 08/31/2021
1616
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.
1717

1818
>[!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.
2020
2121
## Prerequisites
2222

@@ -28,13 +28,36 @@ Instead of using the cloudadmin user to connect services to vCenter, we recommen
2828

2929
## Reset your vCenter credentials
3030

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**.
40+
41+
42+
### [Azure CLI](#tab/azure-cli)
43+
44+
To begin using Azure CLI:
45+
46+
[!INCLUDE [azure-cli-prepare-your-environment-no-header](../../includes/azure-cli-prepare-your-environment-no-header.md)]
47+
48+
1. In your Azure VMware Solution private cloud, open an Azure Cloud Shell session.
3249

3350
2. Update your vCenter *CloudAdmin* credentials. Remember to replace **{SubscriptionID}**, **{ResourceGroup}**, and **{PrivateCloudName}** with your private cloud information.
3451

3552
```azurecli-interactive
3653
az resource invoke-action --action rotateVcenterPassword --ids "/subscriptions/{SubscriptionID}/resourceGroups/{ResourceGroup}/providers/Microsoft.AVS/privateClouds/{PrivateCloudName}" --api-version "2020-07-17-preview"
3754
```
55+
56+
---
57+
58+
59+
60+
3861

3962
## Update HCX Connector
4063

0 commit comments

Comments
 (0)