To use the VMware Cloud Foundation API, an API client logs in using the SDDC Manager admin account. For security reasons, you should periodically update the password for this account.

If you write a script that invokes the APIs, the script should either prompt the user for the password for the admin account or should accept the password as a command line option. As a best practice, you should not encode the password for the account in the script code itself.

Password requirements:
  • Length 8-12 characters
  • Must include: mix of upper-case and lower-case letters a number a special character such as @ ! # $ % ^ or ?
  • Cannot include: * { } [ ] ( ) / \ ' " ` ~ , ; : . < >


  1. SSH in to the SDDC Manager VM using the vcf user account.
  2. Enter su to switch to the root user.
  3. Enter the following command:
    /opt/vmware/vcf/commonsvcs/scripts/auth/ admin <password>
    For <password>, enter the new password for the admin account.