Sycophant.Tesla.AwsSigV4 (sycophant v0.5.0)

Copy Markdown

Tesla middleware that signs requests with AWS Signature Version 4.

Vendored from tesla_aws_sigv4. Wraps the SigV4 signing process implemented in ex_aws so manually constructed requests to AWS APIs (e.g. Bedrock) can be signed. It does not use any of the service libraries in ex_aws; it only signs the request currently in flight.

ex_aws is an optional dependency, so this module is only compiled when ex_aws is available. Consumers that target AWS Bedrock must add {:ex_aws, "~> 2.6"} to their own deps.

Options

  • :service - Required canonical name of the AWS service used in the signing process.
  • :config - Optional overrides for ex_aws config. Only config related to the signing process is supported.