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,160 points
92 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,170 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 1, 2020 in AWS by MD
• 95,160 points
130 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 2, 2020 in AWS by MD
• 95,160 points
466 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,160 points
116 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 2, 2020 in AWS by MD
• 95,160 points
94 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 4, 2020 in AWS by akhtar
• 38,170 points
22,819 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,170 points
101 views