Help Center/ Data Encryption Workshop/ User Guide/ Key Management Service/ Managing CMKs/ Canceling the Scheduled Deletion of One or More CMKs
Updated on 2024-05-15 GMT+08:00

Canceling the Scheduled Deletion of One or More CMKs

This section describes how to use the KMS console to cancel the scheduled deletion of one or more custom keys prior to deletion execution. After the cancellation, the key is in Disabled status.

Prerequisites

The CMK for which you want to cancel the scheduled deletion is in Pending deletion status.

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. Click . Choose Security & Compliance > Data Encryption Workshop.
  4. In the row containing the target CMK, click Cancel Deletion.

    Figure 1 Canceling the scheduled deletion of one CMK

  5. In the displayed dialog box, click OK to cancel the scheduled deletion.

    • If a key is created on the KMS console, the status of the key changes to Disabled after its scheduled deletion is canceled. For details about how to enable the key, see Enabling One or More CMKs.
    • If the CMK is created using imported materials, its status becomes Disabled after the cancellation. To enable the CMK, see Enabling One or More CMKs.
    • If the CMK is created using imported materials and no key materials have been imported for it, its status becomes Pending import after the cancellation. To use the CMK, perform Creating CMKs Using Imported Key Materials.

    To cancel the deletion of multiple CMKs at a time, select them and click Cancel Deletion in the upper left corner of the list.