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
356 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
0 votes
1 answer

How do I write an S3 Object to a file?

While IOUtils.copy() and IOUtils.copyLarge() are great, I would prefer the old ...READ MORE

answered Jul 13, 2018 in AWS by Hammer
• 360 points
1,079 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers