(build-wrap-aws-auth {:keys [region service access-key secret-key token]
:as aws-opts})
Build an clj-http middleware instance that adds the Authorization header into the outgoing request as specified by AWS Signature Version 4 Signing Process.
Takes an aws parameter map with keys:
Expects the request to define either a Date or an X-Amz-Date header. Use wrap-aws-date middleware to ensure one of these is in place.
Build an clj-http middleware instance that adds the Authorization header into the outgoing request as specified by AWS Signature Version 4 Signing Process. Takes an aws parameter map with keys: * region - AWS region, e.g. 'us-east-1' * service - The service, e.g. 'iam' or 'es' * access-key - AWS access key * secret-key - AWS secret key * token - AWS session token in case temporary security credentials are used Expects the request to define either a Date or an X-Amz-Date header. Use wrap-aws-date middleware to ensure one of these is in place.
(wrap-aws-date client)
clj-http middleware that adds an X-Amz-Date header into the request unless the request already defines a standard Date header.
clj-http middleware that adds an X-Amz-Date header into the request unless the request already defines a standard Date header.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close