AWS Signature Version 4 Calculator

Enter request details to calculate AWS signature version 4 headers. No keys or details are sent to our servers.

Want to connect to an AWS API in Airtable?

AWS Signature V4 Headers


Why Calculate AWS Signature Version 4?

To authenticate HTTPS requests to an AWS API, e.g. the S3 API, you must calculate and send several headers with the request. This is known as signing the request.

Almost all AWS services use the AWS Signature Version 4 signing process. To sign a request you must use your AWS access keys, details of the HTTPS request, e.g. URL) and a timestamp to create the headers. You must also add a session token if you are using temporary AWS credentials.

Full details of the V4 signing process can be found in the AWS documentation.

Example AWS Signature Version 4 Headers

After generated the AWS signature version 4 headers, you send them along with your original request headers to authenticate with the AWS API. Example signed headers look like:

Host

s3.amazonaws.com

X-Amz-Content-Sha256

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

X-Amz-Date

20220806T103856Z

Authorization

AWS4-HMAC-SHA256 Credential=32454325234sadf/20220806/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=244b121fbc2ded191ab5f622baa7fe6817eca5c191d53105e0e2281e28fc5dfc

Calculate AWS Signature Version 4 Online

Ultimately, you will need to calculate the V4 signed headers in your code. However for debugging purposes it is useful to generate the AWS signature V4 headers online.

The calculator above lets your enter your AWS keys, URL and other request details and generates the signed headers for you, as well a copiable cURL. It uses the open-source aws4-browser NPM package and no data is sent to our servers during the calculation of the signature.