Authorization header requires 'Credential' parameter.
UPDATED: 20 January 2016
Tags:
Amazon Web Services (AWS)
,
Exception
I got this response message while working around AWS Version 4 Signing Process. There ain't much to explain. Just add Credential=access key ID/credential scope in your Authorization header.
Credential=access key ID/credential scope will look like...
Credential=AKIDEXAMPLE/20150830/us-east-1/iam/aws4_request
Complete Authorization Header
Related
Authorization header requires 'Signature' parameter.
Authorization header requires 'SignedHeaders' parameter.
Reference
http://docs.aws.amazon.com/general/latest/gr/sigv4-add-signature-to-request.html
Credential=access key ID/credential scope will look like...
Credential=AKIDEXAMPLE/20150830/us-east-1/iam/aws4_request
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 'Signature' parameter.
Authorization header requires 'SignedHeaders' parameter.
Reference
http://docs.aws.amazon.com/general/latest/gr/sigv4-add-signature-to-request.html
Tags:
Amazon Web Services (AWS)
,
Exception
0 comments :