Decide access from the claims
You maintain an API that serves quarterly reports. Four requests arrive together, each carrying a bearer token, and each asking for the same thing: GET /reports/q3-summary, which needs the reports/read scope.
Open the Token claims console. Start on Request log to see what your API records for every request, then switch to Decoded claims and read each token against the panel showing what your API expects.
Every signature here is valid. Verified is not the same as appropriate.
Only one of these four tokens should be allowed to call GET /reports.
Which one?
Deze oefening maakt deel uit van de cursus
Using AWS Security for Developers
Interactieve oefening met praktijkervaring
Zet theorie om in actie met een van onze interactieve oefeningen
Begin oefening