Enable IAM authentication for webhooks

AWS API service allows developers to create, maintain, publish, and monitor APIs. AfterShip supports AWS API gateway with IAM (Identity and access management) authentication as a webhook receiver. IAM authentication is a secure way of receiving webhook requests. It ensures that other members and entities have an appropriate level of access to critical resources.

🔧 Enable IAM authentication

  1. Get IAM User Access Key and Secret key
  2. Encode special characters in the URL as shown below
                     Original value  Encoded value
 URL https://b64arexm06.execute-api.us-west-2.amazonaws.com/test  https%3A%2F%2Fb64arexm06.execute-api.us-   west-2.amazonaws.com%2Ftest
Secret key kucyRAdqyFKQ0Em8oZrzttFWlnIpSctv+o7lDoco  kucyRAdqyFKQ0Em8oZrzttFWlnIpSctv%2Bo7lDoco

     3. Assemble encoded values as per below-mentioned format

https://webhooks.aftership.com/aftership/aws-api-gatway/v1?url=(AWS API Gateway URL)&access_key=(Access key ID)&secret_key=(Secret access key)

Copy the URL so created

 4. Paste URL > Save changes

Was this article helpful?
0 out of 0 found this helpful