Curl handles AWS Signature Version 4 API requests natively.
How to create AWS Signature Version 4 requests using
If an API Gateway is configured to use AWS IAM authorization,
curl provides a seamless integration for HTTP requests.
In the example, the
$url links to a custom domain that points to an API Gateway.
--user argument is given the
$AWS_SECRET_ACCESS_KEY that links to the AWS IAM user.
The AWS service for invoking an API Gateway is
curl, the full provider string is required: