More Info:

Unused AWS EC2 key pairs should be decommissioned to follow best practices.

Risk Level

Medium

Address

Security

Compliance Standards

AWSWAF

Triage and Remediation

Remediation

Sure, here are the step-by-step instructions to remediate the issue of Unused AWS EC2 Key Pairs Should Be Removed in AWS using AWS console:

  1. Login to AWS console and navigate to the EC2 dashboard.

  2. Click on the “Key Pairs” option from the left-hand side menu.

  3. Review the list of key pairs that are available. Identify the key pairs that are not being used by any instances.

  4. Select the unused key pairs and click on “Actions” button.

  5. From the drop-down menu, select “Delete Key Pair”.

  6. A confirmation window will appear, click on “Delete” to confirm the deletion of the key pair.

  7. Repeat this process for all unused key pairs.

By following the above steps, you will be able to remediate the issue of Unused AWS EC2 Key Pairs Should Be Removed in AWS using AWS console.

Additional Reading: