request context

The information attached to a single request, such as who made it, when and from where, that code or access policies check while handling it.

In more detail

In a web application it usually carries the signed-in user, the tenant and a request ID, so every layer can use them without passing them around by hand. Cloud access policies evaluate a request context too: in AWS each fact, such as the source IP address or whether MFA was used, is a condition key. If a key is absent from the context, most conditions on it evaluate to false, which can silently disable a deny.

Related terms

Taught in

References