Liking cljdoc? Tell your friends :D

Build Status Clojars Project

An improved implementation of #'cognitect.aws.credentials/profile-credentials-provider that handles sts role assumptions and source_profile relationships in your ~/.aws/credentials file like the java sdk would.


(require '[aws-api-credential-providers.core :as providers])
(require '[cognitect.aws.client.api :as aws])

(def opts {:api :sts :credentials-provider (providers/credentials-provider)})
(def client (aws/client opts))
(def whoami (aws/invoke client {:op :GetCallerIdentity}))


Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close