Site icon Default Reasoning

How to rotate passwords on VCF

SDDC Manager

As every good administrator knows, from the security point of view rotating password on all of your infrastructure components is mandatory on a regular basis. VMware Could Foundation (VCF) is not an exception. VCF consists of many components like SDDC Manager, NSX Manager, vCenter Server(s) etc. so changing all passwords for every component will become a lengthy task. Luckily, there is a build-in tool in the SDDC Manager that will change the password on all VCF components at once. So, let’s have a look on how to rotate passwords on VCF.

As a best practice, rotating the passwords on VCF should be your day 2 operation right after the bring-up process.

Rotate passwords on VCF

According to the documentation, the passwords of the following accounts will be changed:

Note that the tool will NOT change the password of the SDDC Manager. This needs to be done manually. Also, to rotate passwords on VCF the user logged in must have the Admin-privileges.

  1. Login to your SDDC Manager with your VCF admin account.
  2. Navigate to Dashboard –> Settings -> Password Rotation.
  3. Click Password Rotation button at the bottom of the page and wait for the results.
  4. Once completed successfully, the passwords are changed on all components listed in the results pane.

Show passwords

The passwords are hidden by default. In order to see the passwords you have to SSH to the SDDC Manager and look it up.

  1. Once logged in on the SDDC Manager type: # /home/vrack/bin/lookup-passwords
  2. A list of all passwords will be displayed as depicted below.

If you are looking for one particular password, let’s say for the vCenter Server you can leverage the grep command to filter out the results. For example: # /home/vrack/bin/lookup-passwords | grep –B 1 –A 7 “vCenter”

The last password that you should change at this point is the VCF administrator password that is used to log in to the SDDC Manager.

Cheers!

– Marek.Z

Exit mobile version