Updated on 2024-05-15 GMT+08:00

Deleting a Key Pair

You can delete a key pair if it is no longer used.

This section describes how to delete a key pair on the KPS console

Constraints

  • A deleted key cannot be recovered. Therefore, exercise caution when performing this operation.
  • The private key imported for a key pair will be deleted with it.
  • If you delete the public key that has been bound to an ECS on the console and the private key has been saved locally, you can use the private key to log in to the ECS. The deletion operation does not affect the ECS login.

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 navigation pane on the left, click Key Pair Service.
  5. In the row containing the target key pair, click Delete.

    If you have upgraded the key pair to an account key pair, perform the following steps in the account key pair list.

  6. In the displayed Delete Key Pair dialog box, enter DELETE, and click OK. When Key pair deleted successfully is displayed in the upper right corner, the key pair is deleted.