Inizia subitoInizia gratis

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?

Questo esercizio fa parte del corso

Using AWS Security for Developers

Visualizza corso

esercizio interattivo pratico

Trasforma la teoria in pratica con uno dei nostri esercizi interattivi

Inizia esercizio