You can reset the Encryption Key for the Credential Store in case you forget the current encryption key.

Prerequisites

  1. Verify that you have root user credentials for VMware Skyline Health Diagnostics appliance.

  2. For more information about enabling the root user log in to the VMware Photon OS, see: https://vmware.github.io/Photon/assets/files/html/3.0/Photon_troubleshoot/permitting-root-login-with-ssh.html (This configuration is not necessary for the VMware Skyline Health Diagnostics appliance as by default it is configured to allow root user log in through SSH).

  3. Verify that you can log in using root credentials to the VMware Skyline Health Diagnostics appliance console.

  4. Verify that you have shd-admin user credential for the VMware Skyline Health Diagnostics appliance.

Caution:

Resetting the Encryption key will invalidate in all the saved Analysis Profiles and Schedules. You will have to deleted them and recreate once the Credential Store is reset.

Procedure

  1. Open the Skyline Health Diagnostics appliance console using the VMware vSphere client or Secure Shell (SSH) client.
  2. Log in as root user.
  3. Run the command shd-config credmanager
  4. Provide shd-admin credentials as requested.
  5. Select the option for Re-Initialize the Credential Store.
  6. Enter the new passphrase you want to set.
  7. Confirm the new passphrase you want to set.
  8. Once the reset operation completes, restart the vmware-shd service using command systemctl restart vmware-shd.

Results

The new passphrase is set for the Scheduler of the VMware Skyline Health Diagnostics Appliance.

What to do next

You must delete the existing Analysis Profiles and re-create them as the existing profiles are stored after encrypting with old encryption key they cannot be restored.