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
2,573 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 24, 2020 in AWS by MD
• 95,460 points
4,177 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP