If the VCF Installer UI is no longer accessible, we can pull the auto-generated passwords via CLI
VCF Installer 9.0
1. Log back into the VCF Installer UI:
https://<fqdn-of-vcf-installer>/vcf-installer-ui/portal/getting-started
Then grab the passwords from the JSON on the installer page.
2. Use curl commands to pull the passwords:
TOKEN=$(curl -k -X POST https://localhost/v1/tokens -H 'Content-Type:application/json' -d '{"username": "admin@local","password": ""}' | jq -r '.accessToken')
curl -k -X GET "https://localhost/v1/sddcs/latest" -H "Authorization: Bearer $TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" | jq)
curl -k -X GET "https://localhost/v1/sddcs/<ID from previous command>/spec" -H "Authorization: Bearer $TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" | jq | less
Note: Can use an account such as [email protected] if the password to admin@local is unknown to obtain the token.