How to get a CloudFront origin access identity

0 votes

Hi Guys,

I have created a CloudFront origin access identity in AWS. I want to get the origin access identity from the command line. How can I do that?

Nov 2, 2020 in AWS by MD
• 95,460 points
964 views

1 answer to this question.

0 votes

Hi@MD,

The following example gets the CloudFront origin access identity (OAI) with the ID, including its ETag and the associated S3 canonical ID.

$ aws cloudfront get-cloud-front-origin-access-identity --id ID
answered Nov 2, 2020 by akhtar
• 38,260 points

Related Questions In AWS

0 votes
1 answer

How to creates a new origin access identity in Cloudfront?

Hi@akhtar, If you're using Amazon S3 for your ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
756 views
0 votes
1 answer

How to update a CloudFront origin access identity?

Hi@akhtar, The following example updates the origin access ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
1,252 views
0 votes
1 answer

How to delete an origin access identity in Cloudfront?

Hi@akhtar, You can delete your origin access identity ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
4,124 views
0 votes
1 answer

How to list CloudFront origin access identities?

Hi@akhtar, The following example gets a list of ...READ MORE

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

How to rename a S3 bucket name?

Hi, You can rename your S3 bucket name. ...READ MORE

answered Oct 5, 2020 in AWS by akhtar
• 38,260 points
40,894 views
0 votes
1 answer

How to encrypt a snapshot in AWS?

Hi@MD, The following copy-snapshot command copies the specified unencrypted snapshot ...READ MORE

answered Oct 20, 2020 in AWS by akhtar
• 38,260 points
568 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