How to delete a CloudFront public key

0 votes

Hi Team,

I have created a CloudFront public key in AWS. Now I don't need that key. How can I delete the Cloudfront public key from the command line? 

Nov 2, 2020 in AWS by akhtar
• 38,260 points
962 views

1 answer to this question.

0 votes

Hi@akhtar,

You can delete your Cloudfront public key from the command line. The following example deletes the CloudFront public key with the ID. To delete a public key, you must have its ID and ETag.

$ aws cloudfront delete-public-key --id KDFB19YGCR002 --if-match E2QWRUHEXAMPLE
answered Nov 2, 2020 by MD
• 95,460 points

Thank you so much your site has nice content. 

Related Questions In AWS

0 votes
1 answer

How to create Cloudfront public key?

Hi Team, The following example creates a CloudFront ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
1,782 views
0 votes
3 answers
0 votes
2 answers
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

How to delete a key pair using Boto3?

Hi@akhtar, You can delete a key pair using ...READ MORE

answered Oct 8, 2020 in AWS by MD
• 95,460 points
1,930 views
0 votes
1 answer

How to delete a distribution in Cloudfront?

Hi@akhtar, Before you can delete a distribution, you ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
1,988 views
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