This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-02
Channels
- # announcements (2)
- # aws (7)
- # babashka (47)
- # beginners (54)
- # biff (6)
- # calva (14)
- # clojure-europe (7)
- # clojure-germany (2)
- # clojure-japan (4)
- # clojure-norway (5)
- # datalevin (1)
- # deps-new (13)
- # helix (5)
- # hoplon (1)
- # hyperfiddle (12)
- # introduce-yourself (6)
- # joyride (1)
- # malli (2)
- # off-topic (21)
- # polylith (11)
- # re-frame (3)
- # reitit (8)
- # remote-jobs (1)
- # scittle (25)
- # shadow-cljs (20)
- # vim (19)
- # xtdb (4)
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.
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
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