Delete a pem file

0 votes
I have a pem file but the problem is a lot of people have started using my account. I would like to delete it and create a new one. How do I delete a pem file?
Apr 12, 2019 in AWS by Jarvis
485 views

1 answer to this question.

0 votes

Use the following command to delete your pem file:

$ aws ec2 delete-key-pair --key-name keypair

But do make sure once deleted, you cannot recover it. 

answered Apr 12, 2019 by Purav

Related Questions In AWS

0 votes
1 answer

How to delete a file from a branch in AWS CodeCommit?

Hi@akhtar, The following delete-file example demonstrates how to ...READ MORE

answered Nov 23, 2020 in AWS by MD
• 95,040 points
120 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers