Open rbavery opened 3 years ago
I solved this by switching my AWS account key to an account with more permissions, but I think this might still be an issue for folks that only have an aws account with more restrictive permissions and can';t list bucket contents. In these cases it'd be nice if azcopy supported no-sign-request
on the aws side.
The problem is not fixed yet. Just try to copy from the following bucket for reproducing the issue https://aws.amazon.com/marketplace/pp/prodview-6qb5v532zxbam?sr=0-13&ref_=beagle&applicationId=AWSMPContessa#links
The powershell script "set AWS_ACCESS_KEY_ID=....." doesn't work as it doesn't add the system environment variables in windows, so the access is denied to S3. To add the environment variables in Windows do the following:
Press Windows Key + R then open "control sysdm.cpl" In System Properties click on Advanced -> Environment Variables Under System Variables add the variable name: AWS_ACCESS_KEY_ID and place your access key under the value. Add another system variable "AWS_SECRET_ACCESS_KEY" and place in the AWS secret key. Go back to powershell and you should be able to run azcopy: azcopy copy --recursive=true If the permissions still do not work, then it might be an issue with the permissions in AWS.
Which version of the AzCopy was used?
10.9
Which platform are you using? (ex: Windows, Mac, Linux)
Mac
What command did you run?
When I have my aws credentials set:
when my aws credentials are unset:
What problem was encountered?
I can't copy from a bucket with totally open permissions. For some reason my aws permissions don't allow listing items in buckets but I can list this bucket (and so can you) if I do
Is there an option with azcopy to specify
--no-sign-request
for the aws resource?How can we reproduce the problem in the simplest way?
create a storage account and blob storage container (file storage doesn't work, see https://github.com/Azure/azure-storage-azcopy/issues/1363)
Have you found a mitigation/solution?
No