TTLabs / EvaporateJS

Javascript library for browser to S3 multipart resumable uploads
1.82k stars 207 forks source link

How to upload using Pre-Signed Urls. #420

Closed shivalkondwar closed 5 years ago

shivalkondwar commented 6 years ago

How can I upload a file using Pre-Signed Url in EvaporateJS

alenzamanyan commented 5 years ago

You can use signerUrl option described here: https://github.com/TTLabs/EvaporateJS/wiki/Evaporate.create()

The provided URL should hit an endpoint on your server that uses AWS Signature Version 4 for signing the requests. There's documentation here about how to do that on the backend: https://docs.aws.amazon.com/general/latest/gr/signature-v4-examples.html