You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Key pairs
Deleting key pairs
Copy page
Download PDF
Deleting key pairs
This topic describes how to delete one or more key pairs in the console.​
Prerequisites​
You cannot delete key pairs associated with instances. If you want to delete a key pair associated with instances, disassociate the key pair from the instances before you delete the key pair.​
Procedure​
  1. Log in to the ECS console. ​
  1. In the top menu bar, select the region and project where the key pair is located. ​
  1. On the key pair list page, use one of the following methods to go to the "Delete key pair" page.​
  • Delete a single key pair: Click the "Delete" button in the "Actions" column of the target key pair.​
  • Delete multiple key pairs at the same time: Select one or more key pairs that you want to delete and click the "Delete" button at the bottom of the list.​
  1. In the dialog box that appears, confirm the key pair name.​
  1. After you confirm that the key pair name is correct, click the "Delete" button to complete the operation.​
Related documents​
​
Last updated: 2025.09.09 15:59:21