Reconfigure a VCF cloud account with new service credentials
search cancel

Reconfigure a VCF cloud account with new service credentials

book

Article ID: 459791

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VCF Automation

Issue/Introduction

A VCF cloud account that uses Use cloud foundation managed service credentials relies on service accounts created on SDDC Manager for vCenter and NSX. When those credentials are rotated, expire, or need replacing, the cloud account can fail validation or data collection.

Environment

Aria Automation 8.18.x

VCF Automation 9.x

Cause

Service credential rotation isn't supported on an existing VCF cloud account. To get fresh service credentials, the cloud account has to pass through a manual-credentials state first.

This is a known limitation: there is no in-place rotation. 

Resolution

To resolve the issue the Automation administrator must switch the cloud account to manual credentials, save it, then switch it back to service credentials so new accounts are created. See the action plan below:

Prerequisites:

  • A vCenter account and an NSX account with enough privileges to validate the cloud account (used temporarily).

Step 1: Starting point

  • Open the VCF cloud account. Use cloud foundation managed service credentials is selected and the current service usernames are shown.

Step 2: Switch to manual credentials

  1. Clear Use cloud foundation managed service credentials.
  2. Enter the vCenter username and password, then select Validate.
  3. Enter the NSX username and password, then select Validate.
  4. Wait for Credentials validated successfully on both, then select Save.

Step 3: Switch back to service credentials

  1. Select Use cloud foundation managed service credentials. The credential fields are replaced by the Create and validate service credentials button, and Save is disabled.
  2. Select Create and validate service credentials.
  3. When it finishes, Credentials validated successfully appears and new service usernames are shown. Select Save.

Step 4: Verify

  • Data collection completes and the account shows Available for deployment.

Additional Information

Switching back to service credentials fails or returns old credentials in VCF Automation