This project is no longer maintained.
AWS Request Signing v4 for http-kit
Provides aws4-request
,
a aws4-signature-providing wrapper
for org.httpkit.client/request
In project.clj
:
(defproject your-project
:dependencies [[http-kit-aws4 "0.2.0"]])
(:require [http-kit-aws4.http-kit :refer [aws4-request]])
(aws4-request
"eu-west-1"
"iam"
{:url "https://iam.amazonaws.com/"
:method :get
:query-params {"Action" "ListUsers"
"Version" "2010-05-08"}})
Uses AWS credentials provided run-time by (in order of precedence)
- AWS ECS Agent, via AWS_CONTAINER_CREDENTIALS_RELATIVE_URI, when running in an ECS container
- environment variables AWS_ACCESS_KEY_ID etc
Bug reports and pull requests are welcome on GitHub at https://github.com/Yleisradio/http-kit-aws4. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
This library is available as open source under the terms of the MIT License.
This project was inspired by and modeled after sharetribe/aws-sig4 - a clj-http middleware for signing AWS requests. Thank you.