This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-23
Channels
- # announcements (5)
- # aws (9)
- # babashka (60)
- # beginners (561)
- # calva (8)
- # cider (17)
- # clj-kondo (1)
- # cljsrn (12)
- # clojure (36)
- # clojure-dev (3)
- # clojure-europe (3)
- # clojure-france (10)
- # clojure-greece (8)
- # clojure-italy (6)
- # clojure-spec (3)
- # clojure-uk (6)
- # clojurescript (30)
- # community-development (2)
- # conjure (15)
- # datascript (24)
- # figwheel-main (49)
- # fulcro (29)
- # helix (72)
- # off-topic (20)
- # pathom (7)
- # rum (7)
- # shadow-cljs (23)
- # spacemacs (6)
- # sql (8)
- # timbre (1)
- # xtdb (10)
Does anyone have any conveniently packaged ways to generate S3 pre-signed GET URLs? I don't want to use the Java SDK, because I'm already using Cognitect's SDK to keep JAR size down; I've seen https://github.com/cognitect-labs/aws-api/issues/5 which has a workaround gist but only for POSTs (and adapting it to GET/PUT style requests is nontrivial). There's https://github.com/gkarthiks/s3-presigned-url, but that only takes an access key and a secret, not a session token (which is necessary for role creds).
I created my own lib without a ton of external dependencies: https://github.com/jacobemcken/aws-simple-sign So far I have successfully used it in a Babashka script without any pods.
We're working on it in the execution-flow
branch, so, for now, consider HEAD
of that branch to be a moving pre-alpha target 😉