Rotate the cloudadmin credentials for Azure VMware Solution

Important

Currently, rotating your NSX-T Manager cloudadmin credentials isn't supported. To rotate your NSX-T Manager password, submit a support request. This process might impact running HCX services.

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.

Caution

If you use your cloudadmin credentials to connect services to vCenter Server 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.

Prerequisites

Consider and determine which services connect to vCenter Server as cloudadmin@vsphere.local before you rotate the password. These services may include VMware services such as HCX, vRealize Orchestrator, vRealize Operations Manager, VMware Horizon, or other third-party tools used for monitoring or provisioning.

One way to determine which services authenticate to vCenter Server with the cloudadmin user is to inspect vSphere events using the vSphere Client for your private cloud. After you identify such services, and before rotating the password, you must stop these services. Otherwise, the services won't work after you rotate the password. You'll also experience temporary locks on your vCenter Server CloudAdmin account, as these services continuously attempt to authenticate using a cached version of the old credentials.

Instead of using the cloudadmin user to connect services to vCenter Server, we recommend individual accounts for each service. For more information about setting up separate accounts for connected services, see Access and Identity Concepts.

Reset your vCenter Server credentials

  1. In your Azure VMware Solution private cloud, select Identity.

  2. Select Generate new password.

    Screenshot showing the vCenter Server credentials and a way to copy them or generate a new password.

  3. Select the confirmation checkbox and then select Generate password.

Update HCX Connector

  1. Go to the on-premises HCX Connector at https://{ip of the HCX connector appliance}:443 and sign in using the new credentials.

    Be sure to use port 443.

  2. On the VMware HCX Dashboard, select Site Pairing.

    Screenshot of VMware HCX Dashboard with Site Pairing highlighted.

  3. Select the correct connection to Azure VMware Solution and select Edit Connection.

  4. Provide the new vCenter Server user credentials and select Edit, which saves the credentials. Save should show successful.

Next steps

Now that you've covered resetting your vCenter Server credentials for Azure VMware Solution, you may want to learn about: