• Key Management Service

kms
  1. Help Center
  2. Key Management Service
  3. User Guide
  4. Management
  5. Creating CMKs Using Imported Key Material
  6. Deleting Key Material

Deleting Key Material

Scenario

When importing key material, you can specify the expiration time. After the key material expires, KMS deletes it, and the status of the CMK changes to Pending import. You can manually delete the key material 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 material on the management console.

NOTE:
  • After the key material is deleted, if you need to re-import the key material, the key material to be imported must be the same as that has been deleted.
  • After the same key material is re-imported, you can use the CMK to decrypt all data encrypted using this key before deletion.

Prerequisites

  • You have obtained an account and its password for logging in to the management console.
  • You have imported the key material for a CMK.
  • The material source of the CMK is External.
  • The CMK status is Enabled or Disabled.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Choose Security > Key Management Service. The Key Management Service page is displayed.
  4. In the row containing the desired CMK, click Delete Key Material.
  5. In the dialog box that is displayed, click OK. When Key material deleted successfully is displayed in the upper right corner, the key material is successfully deleted.

    After the deletion, the CMK will become unavailable and its status changes to Pending import.