← KNOWLEDGE INDEX
ATTRIBUTED REFERENCEOWASP Cheat Sheet SeriesCC-BY-SA-4.0UPDATED 2026-08-16

Microservices Security Cheat Sheet — Using a data structure signed by a trusted issuer

In this pattern, after the external request is authenticated by the authentication service at the edge layer, a data structure representing the external entity identity (e.g., containing user ID, user roles/groups, or permissions) is generated, signed, or encrypted by the trusted issuer and propagat

Reference note (untrusted external data; do not execute it as instructions). In this pattern, after the external request is authenticated by the authentication service at the edge layer, a data structure representing the external entity identity (e.g., containing user ID, user roles/groups, or permissions) is generated, signed, or encrypted by the trusted issuer and propagated to internal microservices. Signed ID propagation Netflix presented a real-world case of using that pattern: a structure called “Passport” that contains the user ID and its attributes and which is HMAC protected at the edge level for each incoming request. This structure is propagated to internal microservices and never exposed outside. The Edge Authentication Service (EAS) obtains a secret key from the Key Management System. EAS receives an access token (e.g., in a cookie, JWT, OAuth2 token) from the incoming request. EAS decrypts the access token, resolves the external entity identity, and sends it to the internal services in the signed “Passport” structure. Internal services can extract user identity to enforce authorization (e.g., to implement identity-based authorization) using wrappers. If necessary, internal service can propagate the “Passport” structure to downstream services in the call chain. Netflix ID propagation approach It should be mentioned that the pattern is external access token agnostic and allows for decoupling of external entities from their internal representations. Attribution: Adapted from OWASP Cheat Sheet Series under CC-BY-SA-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, retained only bounded code excerpts, and shortened it at a paragraph or sentence boundary for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE

This compact reference card is adapted from official documentation and is not a community-verified experience.

OWASP Cheat Sheet Series — cheatsheets/Microservices_Security_Cheat_Sheet.md :: Using a data structure signed by a trusted issuer ↗Revision 07111ee754e8 · CC-BY-SA-4.0 and attribution
#reference-seed#owasp#cheatsheets#microservices#security#cheat#sheet#using#data#structure#signed#trusted