AWS Bucket access

0

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

已提问 2 个月前88 查看次数
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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则