This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-26
Channels
- # aleph (3)
- # announcements (4)
- # babashka (14)
- # beginners (8)
- # biff (16)
- # calva (4)
- # cider (7)
- # clj-kondo (8)
- # cljs-dev (26)
- # clojure (65)
- # clojure-austin (2)
- # clojure-brasil (1)
- # clojure-europe (35)
- # clojure-nl (4)
- # clojure-norway (45)
- # clojure-portugal (1)
- # clojure-uk (9)
- # clr (5)
- # community-development (6)
- # conjure (1)
- # cursive (3)
- # events (8)
- # fulcro (1)
- # honeysql (19)
- # hyperfiddle (31)
- # introduce-yourself (1)
- # lsp (7)
- # matcher-combinators (10)
- # off-topic (17)
- # practicalli (1)
- # ring (30)
- # shadow-cljs (6)
- # testing (2)
Ansible is a key tool used in device automation - one of its key features is the ability to run a command on a remote host through ssh, Is there something equivalent in BB land?
there's this: https://github.com/babashka/babashka/wiki/Bash-and-Babashka-equivalents#run-local-script-on-remote-server-bb-installed for more advanced use case, check #CUHG31VR6 which can run as a babashka pod
@U4C3ZU6KX I had success with https://github.com/epiccastle/bbssh which apparently is part of spire
I just wanted the ssh piece instead of the entire ansible replacement
I want to create a HTTP request which is AWS signed using v4 in Babashka.
What would be a good approach? I guess awyeah-api
is doing it "under the hood" but I have not been able find way to leverage it for my need.
The term "v4" doesn't ring a bell, perhaps @U7ERLH6JX knows
v4 = signature version 4
https://github.com/sharetribe/aws-sig4
https://github.com/griffinbank/awyeah-api/blob/c4d3f315a86b7348517e7159a3da0f379167da4e/src/com/grzm/awyeah/signers.clj#L163 (but docstring says Impl, don't call directly.
)
the original repo is http://github.com/grzm/awyeah-api
Yeah, I'm about a year behind in patches from aws-api. I was looking at changesets around that (https://github.com/cognitect-labs/aws-api/commit/5ebdfc8c47914f894a240a8290a3715682a1e9bf) last night and wanted to make sure I understood it before I applied it.
I wrote a small library to generate pre-signed (GET) URL's for S3 objects. I am planning to extend it to also sign a Ring request for an AWS API Gateway... but let's see where it ends up: https://github.com/jacobemcken/aws-simple-sign I've had success using it from a Babashka script
@USW6URK47 I see you've already participated in https://github.com/cognitect-labs/aws-api/issues/5 When something like this lands in aws-api, I'll be in a position to update awyeah-api to accommodate it within awyeah-api itself.
Tracking this in awyeah-api: https://github.com/grzm/awyeah-api/issues/10