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.
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.
#[output application/json --- (now() >> "UTC") as DateTime {format:"yyyyMMdd'T'HHmmss'Z'"}]
#[output application/java
---
{
"Authorization" : vars.authString,
"Content-Type" : "application/json",
"X-Amz-Date" : vars.xAmzDate ++ "",
"Host" : "lambda.us-east-1.amazonaws.com"
}]
- Clone the Repo
- Change the pom.xml groupId to match your organization id in your Anypoint Platform organization
- 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>
- Deploy the connector to your Exchange using Maven: mvn clean -DskipTests deploy
- Consume connector in Anypoint Studio by downloading from Exchange.
Last Updated September 14, 2020
You can report new issues at this link https://github.com/djuang1/awsv4auth-extension/issues.