Matching PUT request
The supplied PUT method and text/plain Content-Type reproduce the signature in this synthetic upload URL.
The calculated signature equals the URL signature. At the fixed reference time, 1,800 seconds remain in the requested lifetime.
Inputs and expected values
- Paste this synthetic presigned URL and choose PUT as the Request method.
- Open Request headers, time, and signing key. Enter Content-Type: text/plain and the public example secret below.
- Set Reference time in UTC to May 24, 2013 at 00:30:00 so the historical example is checked within its original hour.
- Select Check URL. The signature matches; compare the canonical request and both signatures below.
- Presigned URL
https://examplebucket.s3.amazonaws.com/test.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE%2F20130524%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20130524T000000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-type%3Bhost&X-Amz-Signature=3283ea304eace967b5bac32c10643da28a8e29777fefaa542771984238c2c7f3- Request method
PUT- Request headers
Content-Type: text/plain- Reference time (UTC)
2013-05-24T00:30:00Z- Public AWS example secret
wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY- Canonical request
PUT /test.txt X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE%2F20130524%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20130524T000000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-type%3Bhost content-type:text/plain host:examplebucket.s3.amazonaws.com content-type;host UNSIGNED-PAYLOAD- Signature in the URL
3283ea304eace967b5bac32c10643da28a8e29777fefaa542771984238c2c7f3- Calculated signature
3283ea304eace967b5bac32c10643da28a8e29777fefaa542771984238c2c7f3