Skip to main content

Enable IAM Authentication for Webhooks

Enable IAM Authentication for Webhooks in AfterShip Tracking: follow setup steps, configure key options, verify behavior, and troubleshoot workflow issues.

Plans: Premium, Enterprise Platforms: All platforms

Overview

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:

  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.

Additional notes

  • AfterShip doesn't send the webhooks under the whitelist IPs for the AWS IAM Authentication webhook receiver gateway.

  • We need to verify the AWS gateway endpoint format for security and cost reasons. We don't support custom domains as of now.

Did this answer your question?