๐Ÿ”— API Patterns and Practices: gRPC
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / Security
Part 8 2 chapters

Security

Encrypt, mutually authenticate, and authorize gRPC calls.

Chapter 19

TLS & mTLS

Transport credentials on both stacks, a certificate bootstrap with the right SANs, and the switch from one-way TLS to mutual TLS on RoutingService.GetQuote.

24 min readRead โ†’
Chapter 20

AuthN/AuthZ

Bearer JWTs in call metadata, a server interceptor that checks signature and expiry, and per-method authorization by scope.

26 min readRead โ†’
โ† Previous part Streaming at Scale & Performance Next part โ†’ Observability, Mesh & Load Balancing

API Patterns and Practices: gRPC

Designing gRPC APIs well, with runnable examples in Quarkus and Python against one Protobuf contract.

Site

  • Chapters
  • Examples
  • Bibliography

Reference

  • Protocol Buffers โ†—
  • Buf โ†—
  • gRPC docs โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท MIT Last built 2026-11-11