Triamorph Systems

← Engineering Dispatches / Architecture

Zero-Trust Network Architecture & Service Meshes: Envoy, Istio & Cryptographic mTLS

By Aman Aslam · 11 min read read

The historic "castle-and-moat" security model assumed that everything inside a corporate VPC network was trustworthy. In 2026, perimeter-only defense is obsolete. If an attacker breaches a single frontend container, they can query internal unencrypted microservices at will. Zero-Trust Architecture enforces that every single packet between services must be cryptographically authenticated and encrypted using mTLS.

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 →