ESXi 8.x
This is the design of the feature. If the key provider is not available on the network and unreachable the alarm will display when the host tries to reach the key provider.
Please setup a test environment using the same key provider before making any changes in production. Make sure the key provider is available to be reconfigured if necessary before continuing, because any data encrypted with the key provider will become permanently inaccessible if the key provider is decommissioned prior to verification it is no longer needed. This may not be a comprehensive list of all the places a key provider can be used in an environment. This only covers the scope of the host cluster in vSphere. There may be other applications using your key provider - please make sure to check on their requirements for decommissioning separately.
The Key Provider can now be deleted from the Key Providers list in vCenter>Configure>Security>Key Providers configuration menu. Make sure you understand the warning about VMs not being able to be powered on before proceeding.
Ensure that there are no issues with any of the existing VMs and that all necessary data is accessible before decommissioning the key provider.
Note: keep in mind that this is not official guidance for your environment, and any design decisions should be vetted through internal teams based on administrative and technical requirements; consult professional services if required.
If you are considering using another key provider the key provider can be updated on the cluster to configure the cluster where to obtain new keys from in the future - however, anything currently encrypted would not work with the new key provider for existing data.
Please see https://www.youtube.com/watch?app=desktop&v=AyLTmfwiA8g for a good overview of the Native Key Provider.