I have configured my bucket to be public, which means everyone can view the bucket as: http://bucket.s3-website-us-east-1.amazonaws.com/
Now I need to be able to get the list of objects and download it if required.
I found answers on this very helpful in getting me setup on python: Quick way to list all files in Amazon S3 bucket?
This work fine if I input the access-key and secret-access-key.
The problem though is we might have people accessing the bucket who we don't want to have any keys at all. So if the keys are not provided it gives me 400 Bad Response error.
At first I thought this might be impossible. But extensive search led me to this R-package: Cloudyr R package
Using this I am able to full the objects without need of the keys:
get_bucket(bucket = 'bucket')
in R but the functionalities are limited in listing/downloading the files. Any ideas how I go about doing this in boto?