Updated on 2025-12-02 GMT+08:00

Canceling the Scheduled Deletion of a Key

Scenario

This section describes how to use the management console to cancel the scheduled deletion of a custom key prior to deletion execution.

Prerequisites

The key 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. Choose Security > Data Encryption Workshop. The key management page is displayed.
  4. In the row containing the desired key, click Cancel Deletion.

    Figure 1 Canceling the scheduled deletion of a single key

  5. In the displayed dialog box, click Yes to cancel the scheduled deletion for the key.

    • If the key is created using KMS generated material, its status becomes Disabled after the cancelation. To enable the key, see Enabling a Key.
    • If the key is created using imported material, its status becomes Disabled after the cancelation. To enable the key, see Enabling a Key.
    • If the key is created using imported material and no key material has been imported for it, its status becomes Pending import after the cancelation. To use the key, perform Creating CMKs Using Imported Key Material.

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