AWS Bucket access

0

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

posta 2 mesi fa88 visualizzazioni
3 Risposte
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
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa
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
ESPERTO
shibata
con risposta 2 mesi fa
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())); }

con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande