Deleting Key Materials
When importing key materials, you can specify their expiration time. After the key material expires, KMS deletes it, and the status of the custom key changes to Pending import. You can manually delete the key materials as needed. The effect of expiration of the key material is the same as that of manual deletion of the key material.
This section describes how to delete imported key materials on the KMS console.
- To re-import a deleted key material, ensure the imported material is the same as the deleted one.
- Data encrypted using a CMK cannot be decrypted if the key material of the custom key was deleted. To decrypt the data, re-import the key material.
Prerequisites
- You have imported key materials for a CMK.
- The material source of the CMK is External.
- The CMK status is Enabled or Disabled.
Constraints
- To re-import a deleted key material, ensure the imported material is the same as the deleted one.
- Data encrypted using a CMK cannot be decrypted if the key material of the custom key was deleted. To decrypt the data, re-import the key material.
- After the deletion, the CMK will become unavailable and its status will change to Pending import.
- The key materials of asymmetric keys cannot be directly deleted. To delete them, perform the instructions in Deleting One or More CMKs.
Procedure
- Log in to the management console.
- Click in the upper left corner of the management console and select a region or project.
- Click . Choose .
- In the row containing the target CMK, click Delete Key Material.
- In the displayed dialog box, click OK. When Key material deleted successfully is displayed in the upper right corner, the key materials are successfully deleted.
After the deletion, the CMK will become unavailable and its status changes to Pending import.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot