Introduction
Introduction
When deploying VMware Cloud Foundation (VCF) 9.1, the VCF Installer automatically generates passwords for various infrastructure components. These credentials are essential for managing and maintaining your VCF environment.
After successfully completing the deployment through the VCF Installer UI, you have the option to view and download these auto-generated passwords before finishing the deployment workflow and accessing VCF Operations.
But what happens if you forget to download the passwords?
Fortunately, the credentials can still be retrieved after deployment. To make this process easier, I created a script that exports the usernames and passwords from the SDDC Manager appliance(VCF-Installer) into a CSV file that can be imported into KeePass Password Safe.
What Happens to the VCF Installer After Deployment?
One interesting change in VCF 9.1 is how the VCF Installer operates after completing the deployment.
Instead of remaining a separate virtual appliance, the VCF Installer transitions into the SDDC Manager component. This eliminates the need for an additional virtual machine while preserving access to deployment information.
By default, opening the SDDC Manager FQDN in your browser redirects you to the SDDC Manager user interface.
However, the VCF Installer UI remains accessible through a specific URL.
For example:
https://sddcm01.vcf.lab/vcf-installer-ui/
Simply replace sddcm01.vcf.lab with the FQDN of your own SDDC Manager appliance.
This allows you to revisit the VCF Installer interface and access deployment-related information, including the auto-generated credentials, subject to the permissions and functionality available in your environment.
Exporting Auto-Generated Passwords
Although the VCF Installer provides an option to download the generated passwords, I wanted a more convenient way to organize these credentials.
Manually copying usernames and passwords into a password manager can be time-consuming, especially when managing multiple VCF deployments.
To simplify this process, I created a script that:
This makes it easier to store and manage your VCF infrastructure credentials in one central location.
Importing the Credentials into KeePass
Once the script has generated the CSV file, you can import the credentials into KeePass.
The goal is to avoid manually creating individual entries for every VCF component.
Depending on the CSV structure, the imported entries can include the component name, username, and password.
After importing the credentials, you can organize them into groups within your KeePass database.
Security consideration: The exported CSV file contains sensitive credentials in plain text. Store it only in a secure location, restrict access to authorized administrators, and securely remove temporary copies after verifying that the credentials have been imported successfully into KeePass.
Conclusion
Forgetting to download the auto-generated passwords after a VMware Cloud Foundation 9.1 deployment does not necessarily mean those credentials are lost.
Because the VCF Installer remains accessible through the SDDC Manager appliance, administrators can revisit deployment information and potentially retrieve the generated credentials.
With my export script, I wanted to make this process even easier by converting the credentials into a CSV file suitable for importing into KeePass.
This provides a convenient way to organize and securely manage the credentials required for your VCF infrastructure.
Download the Script
The script and additional instructions will be available on my GitHub repository.
https://github.com/WardVissers/VCF-Public/blob/main/Get-VcfOpsDeploymentSpec.ps1
Disclaimer: This script is intended for authorized administrators managing their own VMware Cloud Foundation environments. Always follow your organization’s credential-management and security policies.




























You must be logged in to post a comment.