AWS Bucket access

0

Where can I find the access key and secret key for a bucket I've just created?

質問済み 2ヶ月前89ビュー
3回答
1

Access keys and secret keys are typically used when making AWS API calls from the command-line interface (CLI) or through the AWS SDK (however, they are not recommended for SDK).It's important to note that when accessing objects within an S3 bucket via the CLI, AWS Management Console, or SDK, you generally do not need to use access keys directly; rather, you must have the correct permissions to access the objects. Objects within the S3 bucket can be accessed without requiring explicit access keys.

If you specifically need access keys for making AWS API calls from the CLI, you can generate them through the IAM (Identity and Access Management) service. Within IAM, you can create access keys for your IAM users, which can then be used to authenticate API calls.

To create access keys:

  1. Go to the IAM console
  2. On the navigation pane, click on the users and then choose the user for which you want to create access keys
  3. When you are on the user page, you can click on the Security Credentials
  4. If you scroll down a bit you can create the access key pair for the user, which can be used to access the AWS API over the CLI

Please let me know if you need further assistance or clarification on this matter!

profile picture
Julian
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
0

Since you have tagged AWS Storage Gateway, are you asking about the credentials that Storage Gateway needs to connect to S3?

Storage Gateway uses IAM Role to access S3, so access key and secret key are not required.

https://docs.aws.amazon.com/filegateway/latest/files3/CreatingAnNFSFileShare.html

profile picture
エキスパート
shibata
回答済み 2ヶ月前
0

I have a class that connects to S3, and I just need to find out where the credentials are inside the console of AWS bucket to proceed

protected final Variant ebfAWSS3Conection(Variant accesskey, Variant secretKey, Variant region) throws Exception { return VariantPool.get(wfr.util.WFRAWS.createConnection( accesskey.getString(), secretKey.getString(), region.getString())); }

回答済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ