Every request to SQS must contain authentication information to establish the identity of the principal making the request. In REST, this is done by first putting the headers in a canonical format, then signing the headers using your AWS Secret Access Key.
To create a signature to include in a REST request, the Authorization header should contain a string of the following format: AWS <AWSAccessKeyId>:<Signature>. The Signature is an HMAC hash (explained in previous section) of the string:
Note: | Notice that there is no newline at the end of the string. This is a common mistake that causes authentication failure. |
For example: