cURL HTTP and API Workflows/AWS SigV4 request signing

Sign an AWS-compatible HTTP request using SigV4.

Section: HTTP Auth and Security

AWS SigV4 request signing

bash
bash
curl --aws-sigv4 'aws:amz:us-east-1:execute-api' --user 'AKIA...:SECRET' https://abc123.execute-api.us-east-1.amazonaws.com/prod/items
Explanation

curl includes AWS Signature Version 4 support.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing HTTP Auth and Security
HTTP Basic auth
Authenticate with username and password.
OpenIn sheetbashsame section
Bearer token auth
Send a Bearer token for OAuth-style APIs.
OpenIn sheetbashsame section
API key in header
Send an API key header.
OpenIn sheetbashsame section
API key in query string
Pass an API key in the URL.
OpenIn sheetbashsame section
Mutual TLS with client cert
Authenticate using a client certificate and key.
OpenIn sheetbashsame section
Use a custom CA bundle
Trust a specific CA certificate file.
OpenIn sheetbashsame section