This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-05
Channels
- # announcements (15)
- # aws (7)
- # babashka (105)
- # beginners (35)
- # biff (5)
- # calva (48)
- # cider (5)
- # clj-kondo (25)
- # cljdoc (14)
- # clojure (84)
- # clojure-czech (2)
- # clojure-dev (6)
- # clojure-europe (58)
- # clojure-nl (6)
- # clojure-norway (19)
- # clojure-portugal (2)
- # clojure-uk (5)
- # clojurescript (23)
- # cloverage (5)
- # code-reviews (5)
- # conjure (28)
- # data-science (1)
- # datomic (53)
- # events (6)
- # exercism (7)
- # fulcro (16)
- # graalvm-mobile (2)
- # honeysql (29)
- # improve-getting-started (2)
- # kaocha (32)
- # lambdaisland (2)
- # lsp (29)
- # malli (3)
- # overtone (1)
- # pedestal (8)
- # polylith (3)
- # portal (6)
- # quil (2)
- # rdf (15)
- # releases (2)
- # rewrite-clj (14)
- # sci (9)
- # shadow-cljs (7)
- # specter (5)
- # sql (5)
- # xtdb (38)
Hello I'd like to make a "v4 signed" http request. Is there a snippet out there or something in cognitect-api that already does that?
now I'm checking out this https://github.com/sharetribe/aws-sig4
I have this same need but I haven't settled on how to do it yet
For me I want to make a request to a neptune streams endpoint, and a signed request is the way to do that
(ns
script
(:require
["got4aws$default" :as got4aws]
["aws-sdk$default" :as AWS]
[applied-science.js-interop :as j]
[promesa.core :as p]))
(p/let
[opts
(nbb.core/slurp "options.edn")
opts
(read-string opts)
client
(got4aws
(clj->js
{:providers (clj->js
(AWS/SharedIniFileCredentials.
(clj->js (:creds opts))))
:service "execute-api"
:region "us-east-1"}))
result
(->
client
(.post
(:url opts)
(clj->js
{:json .... })))]
(prn
(js->clj
(j/get-in
result :body)))
(println))
I'm looking into NeptuneNettyHttpSigV4Signer
from the aws neptune sdk for my use case