O'Reilly logo

Mastering AWS Development by Uchit Vyas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Authenticating requests using REST APIs

When you are going to access Amazon S3 or other AWS services using REST, you must provide the following items in your request so the request can be authenticated:

  • AWS access key ID: Every request must hold the access key ID of the uniqueness you are using to send your request
  • Signature: Each request must contain a valid request signature
  • Time stamp and date: Each request must contain the date and time the request was created

The general steps for authenticating a request are as follows:

  1. Create a request that contains the following components:
    • Access key ID
    • Action
    • Timestamp
    • Parameters
  2. Check the signature using your secret access key, as shown here:
  3. Send the request to AWS service by including your access key ID and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required