Is it possible to get ARN of S3 bucket with CLI

0 votes

My question is it possible to get the ARN of an S3 bucket via the AWS Command Line Interface?

I googled and went through the documentation for AWS S3API and AWS S3 but have not found a way to do this.

So, any suggestions?

Feb 19, 2019 in AWS by datageek
• 3,090 points
7,607 views

1 answer to this question.

0 votes

You don't actually need cli to get the ARN of your S3 bucket. In the management console select the bucket and in the pop up that opens you have the option to copy the ARN if the bucket you choose.

In fact, you don't even need to do that. If you know the name of the bucket, you know the ARN. No need to 'get' it from anywhere. It's always arn:aws:s3:::NAME-OF-YOU-BUCKET.

answered Feb 19, 2019 by Archana
• 5,640 points
Can you elaborate the process of doing this? Thank you

Related Questions In AWS

0 votes
0 answers

Get ARN of S3 Bucket with aws cli

Is it possible to get the ARN ...READ MORE

Apr 21, 2022 in AWS by Rahul
• 9,680 points
904 views
+1 vote
3 answers

How to get ARN for s3 Bucket using aws cli .

An ARN is a non-opaque, constructible identifier, ...READ MORE

answered Aug 16, 2018 in AWS by Priyaj
• 58,020 points
5,646 views
0 votes
1 answer

Is it possible to find all S3 buckets given a prefix?

The high level collection command s3.buckets.filter only ...READ MORE

answered Aug 27, 2018 in AWS by Archana
• 4,170 points
6,628 views
0 votes
1 answer

Is it possible to use own scheduler with Amazon ECS?

ECS provides Blox, a collection of open ...READ MORE

answered Nov 5, 2018 in AWS by datageek
• 3,090 points
746 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 58,020 points
5,958 views
–1 vote
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 58,020 points
5,204 views
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