4 ms·
It's only intended for techies (and friends thereof I suppose). It's really a tiny project that I've set out to finish in 16 hours as a challenge. So far the pr
by beingflo 4y ago
It's only intended for techies (and friends thereof I suppose). It's really a tiny project that I've set out to finish in 16 hours as a challenge. So far the progress is great but those S3 libraries are throwing a wrench in my schedule.
Because of that tight time budget I think oauth would be out of scope as I've never done anything like it.
Getting into this I was under the impression that uploading a file to S3 was as simple as chucking the api key into the Autorization header of a post and off we go. That's the type of ease of use I'm looking for. Turns out its not quite as trivial with a whole signature process etc.
- ev1 4y agoI haven't had an issue with it, you're basically just calling a function. https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javascript/example_code/s3/s3_photoExample.js#L186 https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/ja...
- beingflo 4y agoApparently the sdk doesn't play nice with vite. And it's way to heavy for my use case anyway. After looking further I found this library that is perfect for my needs https://github.com/mhart/aws4fetch https://github.com/mhart/aws4fetch.