How To List Aws S3 Buckets Using Amazon-javascript-sdk?
I need to get a list of buckets having the client accessKeyId and secretAccessKey. From the docs I understood that I have to update de configurations of AWS, create a new S3 object
Solution 1:
On the AWS Forums I got an answer that says it's impossible to do that, using amazon-javascript-sdk in the browser.
Here is the post: https://forums.aws.amazon.com/thread.jspa?threadID=179355&tstart=0
Solution 2:
You need to set permissions of file to public or any authorized user using any user define key while uploading files to amazon bucket. While Uploading files, there is option to set permissions. Thanks, Saurabh.
Solution 3:
You probably need to configure CORS for your buckets. See AWS docs here: Configuring CORS for an Amazon S3 Bucket
Post a Comment for "How To List Aws S3 Buckets Using Amazon-javascript-sdk?"