"vmware-system-user" password on VCF Automation. Fleet Management is the new LCM (Lifecycle Manager). Unfortunately, getting passwords via the GUI is no longer available, but we can still fetch the passwords via API. Here is the filtered list of passwords within VCF Operations:
Base64 encoding tool.echo 'admin@local:youradminatlocalpassword' | base64Base64-encoded string. This will be used for authorization.https://<vcf-operations-fleet-mgmt>/api/swagger-ui/index.html When prompted for authorization, enter the following format in the input field:
Basic <Base64-encoded credentials>
<Base64-encoded credentials> with the string you copied in Step 1.
GET https://vcf-operations-fleetmanagement-appliance-fqdn/lcm/locker/api/passwords
2. Above API will return response with the paginated list of passwords
[
{
"alias": "Default Password for vCenters",
"createdOn": 1605791587373,
"lastUpdatedOn": 1605791587373,
"password": "PASSWORD****",
"passwordDescription": "This password is being used for all my vCenters",
"principal": "string",
"referenced": true,
"tenant": "string",
"transactionId": "string",
"userName": "[email protected]",
"vmid": ""xxxx-xxxxx-xxxxx-xxxxx-xxxx"
}
]
3. Now retrieve the password by using the root password of VCF Operations fleet management appliance. Fetch the VMID of the password from the
POST https://vcf-operations-fleetmanmagement-appliance-fqdn/lcm/locker/api/passwords/view/{vmid}
The Body should be {\"rootPassword\":\"Password!!\"}
The response of the previous call will retrieve the password needed.