This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-16
Channels
- # announcements (1)
- # aws (6)
- # babashka (17)
- # beginners (30)
- # calva (12)
- # cider (25)
- # circleci (2)
- # clojure (42)
- # clojure-australia (8)
- # clojure-czech (1)
- # clojure-europe (30)
- # clojure-france (52)
- # clojure-italy (2)
- # clojure-nl (16)
- # clojure-serbia (3)
- # clojure-uk (10)
- # clojurescript (40)
- # core-async (5)
- # cursive (24)
- # datalog (7)
- # datomic (8)
- # emacs (4)
- # events (1)
- # figwheel-main (3)
- # fulcro (2)
- # helix (5)
- # heroku (1)
- # kaocha (6)
- # leiningen (3)
- # malli (11)
- # music (5)
- # off-topic (20)
- # practicalli (1)
- # re-frame (4)
- # react (8)
- # reitit (14)
- # rewrite-clj (5)
- # rum (2)
- # schema (2)
- # shadow-cljs (23)
- # vrac (28)
- # wasm (4)
- # xtdb (12)
- # yada (5)
It seems like aws-api does not support https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html as a credential provider. I have a profile in my config file with a role_arn and source_profile specified. If I try using that profile via AWS_PROFILE, aws-api will log that it cannot fetch from aws profiles file. Thinking I'll just copy that code out and add support for it locally. I'm not missing existing functionality, am I? https://github.com/cognitect-labs/aws-api/blob/5843c22679f28dd70fa3180e5a2487ebab7eb770/src/cognitect/aws/credentials.clj#L241-L243
@U083D6HK9 writing your own credentials providers is pretty straightforward, we had to add our own for credentials fetched via SSO locally
I made this to address some of these missing auth modes: https://github.com/RutledgePaulV/aws-api-credential-providers
issues can go here https://github.com/cognitect-labs/aws-api/issues
Don't have time to make an issue atm. For those interested, I published my first cut from our internal version here. Anyone is welcome to use it. https://gist.github.com/kennyjwilli/c640f76845451cb145cedaee790d4f9a.