CommencerCommencez gratuitement

Match the caller to the door

You are the platform engineer on an API with four callers, and a decision is waiting on you: keep that API on REST, or move it to HTTP. Nobody has written down which caller depends on what.

What each caller presents at the door:

  • The web app user, carrying a Cognito token.
  • The partner app, carrying an opaque session key your own code has to resolve.
  • The analytics batch job, presenting no token at all, admitted today because of the account it calls from.
  • The inventory service, signing its requests with AWS credentials.

A REST API offers IAM auth, a Cognito authorizer, a Lambda authorizer, and a resource policy. An HTTP API offers IAM auth, a JWT authorizer, and a Lambda authorizer, and has no resource policies at all.

Which of these callers can be served by a REST API but not by an HTTP API?

Cet exercice fait partie du cours

<cours>Using AWS Security for Developers</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice