23.06.2023 Views

AWS

4 weeks subscription

4 weeks subscription

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Amazon Simple Queue Service Developer Guide<br />

HMAC-SHA Signatures<br />

Process for Authentication: Tasks You Perform<br />

You construct a request to <strong>AWS</strong>.<br />

You calculate a keyed-hash message authentication code (HMAC-SHA) signature using<br />

your Secret Access Key (for information about HMAC, go to<br />

http://www.faqs.org/rfcs/rfc2104.html)<br />

You include the signature and your Access Key ID in the request, and then send the request<br />

to <strong>AWS</strong>.<br />

<strong>AWS</strong> performs the next three tasks.<br />

Process for Authentication: Tasks <strong>AWS</strong> Performs<br />

<strong>AWS</strong> uses the Access Key ID to look up your Secret Access Key.<br />

<strong>AWS</strong> generates a signature from the request data and the Secret Access Key using the<br />

same algorithm you used to calculate the signature you sent in the request.<br />

If the signature generated by <strong>AWS</strong> matches the one you sent in the request, the request is<br />

considered authentic. If the comparison fails, the request is discarded, and <strong>AWS</strong> returns an<br />

error response.<br />

API Version 2009-02-01<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!