AWS Bucket access

0

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

asked a month ago75 views
3 Answers
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
answered a month ago
profile picture
EXPERT
reviewed a month ago
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
EXPERT
shibata
answered a month ago
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())); }

answered 19 days 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