If you no longer require a key pair, you can delete it. Note that a deleted key pair is not recoverable. Existing instances that have used the key pair are not affected, and the deleted key pair name remains associated to the instance.
Follow these steps to delete one or more key pairs:
- Log on to the ECS console.
- In the left-side navigation pane, click .
- Select one or more key pairs.
- Click Delete.