AWS Bucket access

0

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

gefragt vor 2 Monaten88 Aufrufe
3 Antworten
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
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten
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
EXPERTE
shibata
beantwortet vor 2 Monaten
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())); }

beantwortet vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen