Reputation: 45
I was give this info:
AWS s3 Bucket ci****a.open
Amazon Resource Name (ARN) arn:aws:s3:::ci****a.open
AWS Region US West (Oregon) us-west-2
how am I supposed to download the folder without Access Key ID and Secret Access Key ? I tried with CLI and it still ask me Access Key ID and Secret Access Key. I usually use s3 browser, but it also ask for Access Key ID and Secret Access Key
Upvotes: 3
Views: 3068
Reputation: 238051
I tried with CLI and it still ask me Access Key ID and Secret Access Key.
For CLI you have to use --no-sign-request for credentials to be skipped. This will only work if the objects and/or your bucket is public.
CLI S3 commands, such as cp require S3Url, not S3 arn:
s3://bucket-name
you can create it yourself from arn, as bucket-name will be in the arn. In your case it would be ci****a.open
:
s3://ci****a.open
So you can try the following to copy everything to current working folder:
aws s3 cp s3://ci****a.open . --recursive --no-sign-request
Upvotes: 6