← Engineering Dispatches / Architecture
Zero-Trust Network Architecture & Service Meshes: Envoy, Istio & Cryptographic mTLS
By Aman Aslam · 11 min read read
Architectural Takeaways
- Envoy sidecars intercept and encrypt all inbound and outbound microservice traffic with zero application code changes.
- SPIFFE/SPIRE issues ephemeral cryptographic X.509 certificates that rotate automatically every 24 hours, rendering stolen credentials useless.
- Istio AuthorizationPolicies enforce Layer 7 HTTP path and method restrictions between specific service identities.
1. Why Castle-and-Moat Security Fails Modern Cloud
In traditional architectures, internal HTTP traffic flows in plaintext. Zero-trust principles require verifying explicitly, enforcing least privilege, and assuming breach across every internal interface.
2. Envoy Proxy & Mutual TLS (mTLS) Handshake Mechanics
During the TLS 1.3 handshake, both the client Envoy proxy and the server Envoy proxy present their SPIFFE identity certificates. Communication proceeds only if both certificates validate against the trusted internal certificate authority.
3. SPIFFE/SPIRE Microservice Identity Architecture
Service identities are derived deterministically from Kubernetes service accounts, ensuring that pod identity cannot be spoofed across namespaces.
4. Layer 7 AuthorizationPolicies in Kubernetes
Below is a strict Istio policy permitting only the Billing service to access the payment ledger.
Read more technical guides on our Dispatches Index →