You can recover the vSphere Native Key Provider either through the vSphere Client or from the vCenter Server Appliance Backup.
When necessary, you can recover a vSphere Native Key Provider in the following ways.
- If you do not need to rebuild your vCenter Server Appliance, use the vSphere Client to restore the key provider. See Restore a vSphere Native Key Provider Using the vSphere Client.
- If you must rebuild your vCenter Server Appliance, you must restore the key provider from your vCenter Server Appliance Backup. When you perform a vCenter Server Appliance Backup, it saves the Native Key Provider. See https://blogs.vmware.com/vsphere/2018/05/vcenter-server-appliance-6-7-file-based-backup-and-restore-walkthroughs.html for information about restoring the vCenter Server Appliance from backup.