Which credentials are they asking for? RE: S3 access.

0

I'm trying to access an S3 bucket and they're asking me for IAM credentials and the ARN. I'm pretty new to AWS so I'm not sure exactly what credentials they want. Is it IAM credentials for a user? A bucket? Please help :)

  • From where and how are you trying to access this s3 bucket?

1 Answer
1

To get your IAM user name and ARN, you can follow these steps:

  1. Sign in to the AWS Management Console and navigate to the IAM service.
  2. In the navigation pane, click on "Users" under the "Identity and Access Management" heading.
  3. Find the user that you want to get the ARN for and click on its name to open the details page.
  4. The user name is displayed at the top of the details page, and the ARN is displayed in the "User ARN" field.

Alternatively, you can use the AWS CLI to retrieve the ARN of your IAM user. To do this, you can use the aws iam get-user command, which returns information about the user, including the user's ARN. This will return a JSON object containing information about the user, including the user's ARN, which will be in the following format:

arn:aws:iam::<ACCOUNT_ID>:user/<USER_NAME>

To get the ARN of an S3 bucket using the AWS Management Console:

  1. Sign in to the AWS Management Console and navigate to the S3 service.
  2. In the bucket list, find the bucket you want to get the ARN for and click on its name to open the details page.
  3. The bucket ARN is displayed in the "Overview" section of the details page. It will be in the following format:
arn:aws:s3:::<BUCKET_NAME>

To get the ARN of an S3 bucket using the AWS CLI:

  1. Run the aws s3api list-buckets command to get a list of all the S3 buckets in your account.
  2. Find the bucket you want to get the ARN for in the list of buckets returned by the command. The ARN of the bucket will be listed in the "Arn" field.

If this helps, please upvote and accept the answer so that others in this forum benefit from the solution! Let me know if you have any questions.

profile pictureAWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions