Key Provider Management
Key providers supply keys for VM encryption, disk encryption, and vTPM. ZSphere supports Standard Key Providers and Native Key Providers. A Standard Key Provider requires two-way trust with an external KMS. A Native Key Provider is provided by the platform and can be used without a third-party KMS.
When you create an encrypted resource or change the encryption state of a resource, the platform obtains keys from the default key provider. Before you use encryption, make sure the default key provider is connected and its key service is available. Back up the Native Key Provider before use so that you can restore the key service after a platform failure or rebuild.
Add a Standard Key Provider
You can add an external key server (KMS) to support various encryption capabilities of the system, thereby enhancing overall system security. The KMS must support the Key Management Interoperability Protocol (KMIP) 1.1 or later.
Before you begin
Procedure
What to do next
- After you add a standard key provider, you must establish two-way trust for it to work properly. For more information, see Use KMS Certificate and Private Key to Make KMS Trust ZSphere, Use the New Certificate Signing Request (CSR) to Make KMS Trust ZSphere, and Make ZSphere Trust the KMS.
- Scenario practices: Use the Thales Key Provider, Use the HashiCorp Key Provider
Use KMS Certificate and Private Key to Make KMS Trust ZSphere
Some KMS vendors require you to upload the KMS server certificate and private key to ZSphere.
Procedure
- Navigate to the Key Providers page.
- Locate the standard key provider with which you want to establish trust, and click .
- In the Make KMS Trust the Platform dialog, select KMS Certificate and Private Key as the trust method.
- Click Next.
- Upload the certificate and private key files you received from the KMS, or paste the certificate and private key content into the text box.
- Click OK.
What to do next
Use the New Certificate Signing Request (CSR) to Make KMS Trust ZSphere
Some KMS vendors require ZSphere to generate a Certificate Signing Request (CSR) and submit the CSR to the KMS. The KMS signs the CSR and returns a signed certificate. You must upload the signed certificate back to ZSphere to establish trust.
Procedure
What to do next
Make ZSphere Trust the KMS
If you skipped the step of trusting the KMS when you added the standard key provider, you must establish two-way trust after the KMS trusts ZSphere.
Procedure
Delete a Standard Key Provider
Before you begin
- When multiple key providers exist, the default key provider cannot be deleted. Set another key provider as the default first, and then perform the deletion.
- To preserve encrypted resources that depend on this key provider, perform a global Rekey operation before deletion. The operation uses a new KEK from the current default key provider to rewrap the DEKs of the encrypted resources.
Procedure
Use the Thales Key Provider
About this task
Procedure
Use the HashiCorp Key Provider
Add a Native Key Provider
ZSphere provides a native key provider that allows you to enable encryption-related features without a third-party KMS.
Procedure
What to do next
Back Up the Native Key Provider
The Native Key Provider is stored only in ZSphere. If ZSphere fails or must be rebuilt, its keys are lost and encrypted resources that depend on the provider become unavailable. Back up the Native Key Provider so that you can restore the key service and regain access to the encrypted resources after rebuilding ZSphere.
Procedure
Restore the Native Key Provider
Before you begin
- You have prepared the backup file of the native key provider.
- If you set password protection for the backup file when you backed up the key provider, prepare the password for the backup file.
- Ensure that no key provider with the same name exists on the platform.
Procedure
- In the navigation pane, select .
- Select the root node.
- On the root node details page, click Key Providers.
- On the Key Providers tab, click .
- In the Restore Key Provider dialog, upload the backup file.
- (Optional) If the backup file is password-protected, enter the password.
- Click Next.
- Confirm the information of the key provider to restore, and then click OK.
Delete the Native Key Provider
Before you begin
- If you want to keep the key provider for future use, back it up first.
- To preserve encrypted resources that depend on this key provider, perform a global Rekey operation before deletion. The operation uses a new KEK from the current default key provider to rewrap the DEKs of the encrypted resources.
Procedure
Rekey
To meet requirements such as periodic key rotation, suspected key compromise, or security compliance, perform a shallow rekey on encrypted resources across the platform. This operation uses a new key encryption key (KEK) from the current default key provider to rewrap the data encryption keys (DEKs). It does not replace the DEKs or re-encrypt the actual workload data.
Before you begin
- Make sure that the current default key provider is connected and its key service is available.
- Make sure that the key providers and keys currently protecting encrypted resources across the platform are available.


















