Want to read S3 bucket PDF object using bucket access key and secret key

Hi Kartik,

PDF.js Express will not be able to read/write files from s3 that require secret access keys. It is only able to read remote files that support CORS and are publicly accessible.

To do this, you would have to download the document in your own code outside of PDF.js Express, and then pass the document into the loadDocument API.

Let me know if there are any more questions,

Thanks!
Logan