23.06.2023 Views

AWS

4 weeks subscription

4 weeks subscription

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Amazon Simple Queue Service Developer Guide<br />

HMAC-SHA Signatures<br />

Required Authentication Information<br />

When accessing Amazon SQS using the Query API, you must provide the following items so the request<br />

can be authenticated:<br />

• <strong>AWS</strong> Access Key ID—Your <strong>AWS</strong> account is identified by your Access Key ID, which <strong>AWS</strong> uses to<br />

look up your Secret Access Key.<br />

• Signature—Each request must contain a valid HMAC-SHA request signature, or the request is rejected.<br />

You calculate the request signature by using your Secret Access Key, which is a shared secret known<br />

only to you and <strong>AWS</strong>.<br />

• Date—Each request must contain the time stamp of the request. You can provide an expiration date<br />

and time for the request instead of or in addition to the time stamp.<br />

Related Topics<br />

• Your <strong>AWS</strong> Identifiers (p. 18)<br />

Basic Authentication Process<br />

Following is the series of tasks required to authenticate requests to <strong>AWS</strong> using an HMAC-SHA request<br />

signature. It is assumed you have already created an <strong>AWS</strong> account and received an Access Key ID and<br />

Secret Access Key. For more information about those, see Your <strong>AWS</strong> Account (p. 18) and Your <strong>AWS</strong><br />

Identifiers (p. 18).<br />

You perform the first three tasks.<br />

API Version 2009-02-01<br />

20

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

Saved successfully!

Ooh no, something went wrong!