fabregaszy
fabregaszy

Reputation: 506

Do I need to calculate the signature every time I make a AWS request?

For some reason, I have to access AWS service via HTTP request. In every request, a signature is needed in Authorization field in the HTTP header.

Since 'x-amz-date' field is needed in calculate the signature, does it means that I have to recalculate the signature every time I make a request to AWS?

Upvotes: 0

Views: 120

Answers (1)

xin zhao
xin zhao

Reputation: 619

Yes, you must calculate signature for every request.

The motivation of signature is not only authenticating your account, but also protecting integrity of the exchanged data. So the signature must contains some info about the exchanged data of each request.

Upvotes: 2

Related Questions