Skip to content

djuang1/awsv4auth-extension

Repository files navigation

Amazon AWS Signature Version 4 Connector - Mule 4.x

Amazon AWS Signature Version 4 is the process to add authentication information to AWS requests sent over HTTP. This connector allows you to build the signature to allow you to call an AWS service over HTTP.

The diagram below shows the process to create the signature.

Exmple Project

An example project can be found here

This connector has been created and provided free of charge to the MuleSoft developer community. While issues can be reported, there is no guarantee for support.

Date Format

#[output application/json --- (now() >> "UTC") as DateTime  {format:"yyyyMMdd'T'HHmmss'Z'"}]

HTTP Request Headers

#[output application/java
---
{
    "Authorization" : vars.authString,
    "Content-Type" : "application/json",
    "X-Amz-Date" : vars.xAmzDate ++ "",
    "Host" : "lambda.us-east-1.amazonaws.com"
}]

Instructions

  1. Clone the Repo
  2. Change the pom.xml groupId to match your organization id in your Anypoint Platform organization
  3. Modify your Maven settings.xml file and add the following server
<server>
    <id>exchange-server</id>
    <username>YOUR_ANYPOINT_PLATFORM_ID</username>
    <password>YOUR_ANYPOINT_PLATFORM_PASSWORD</password>
</server>
  1. Deploy the connector to your Exchange using Maven: mvn clean -DskipTests deploy
  2. Consume connector in Anypoint Studio by downloading from Exchange.

Updates

Last Updated September 14, 2020

Reporting Issues

You can report new issues at this link https://github.com/djuang1/awsv4auth-extension/issues.

Releases

No releases published

Packages

No packages published

Languages