If you no longer need an SSH key pair that is not bound to an Elastic Compute Service (ECS) instance, you can delete the SSH key pair to ensure resource security. This topic describes how to delete an SSH key pair that is not bound to an ECS instance.
Prerequisites
The SSH key pair that you want to delete is not bound to an ECS instance. For information about how to unbind an SSH key pair from an ECS instance, see Unbind an SSH key pair.
Procedure
Log on to the ECS console.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
Find the SSH key pair that you want to delete and click Delete in the Actions column.
NoteYou can also select multiple SSH key pairs and click Delete below the list.
In the Delete SSH Key Pair message, confirm the SSH key pair information.
After you verify that the SSH key pair information is correct, click OK.