Hi! I have been using an older s3 clojure library and I’m trying to switch to aws-api. I’m stuck on what to do with presigned urls. I see presigned urls are not supported. How does one go about serving secure images in a web app?
I ended up using Java interop for presigned URLs.
I created a library (initially for myself) which I successfully used with Babashka to create pre-signed GET URLs: https://github.com/jacobemcken/aws-simple-sign
Tak skal du have!
You are welcome 😄
Bummer guess I will have to use a lib that wraps the Java sdk instead
It was the only thing I had to use interop for; I was able to do everything else with aws-api
I really want something light. clj-aws-s3 works well even though it’s deprecated. I tried s3mock with it but couldn’t provide a url which is why i thought i’d bite the bullet and switch to a lib that is actively maintained aws-api.
Not quite a full solution but have you seen the discussion here: https://github.com/cognitect-labs/aws-api/issues/5 there's a linked gist there that might be useful https://gist.github.com/souenzzo/21f3e81b899ba3f04d5f8858b4ecc2e9