Authorization header requires 'SignedHeaders' parameter.

UPDATED: 20 January 2016
I got this response message while working around AWS Version 4 Signing Process. There ain't much to explain. Just add SignedHeaders=SignedHeaders in your Authorization header.

SignedHeaders=SignedHeaders will look like...
SignedHeaders=content-type;host;x-amz-date

Complete Authorization Header
Authorization: algorithm Credential=access key ID/credential scope, SignedHeaders=SignedHeaders, Signature=signature

TO
Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/iam/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=5d672d79c15b13162d9279b0855cfba6789a8edb4c82c400e06b5924a6f2b5d7

Related
Authorization header requires 'Credential' parameter.
Authorization header requires 'Signature' parameter.

Reference
http://docs.aws.amazon.com/general/latest/gr/sigv4-add-signature-to-request.html


0 comments :