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?

질문됨 일 년 전237회 조회
1개 답변
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠