What it is
Zero trust is a security model in which no request is trusted because of where it comes from. Every request, from a person or a workload, inside or outside the corporate network, is authenticated and authorized against the identity of the caller, the state of its device or workload, and an explicit policy. NIST SP 800-207 (2020) is the common reference; Google's BeyondCorp papers describe one of the first large deployments for employee access.
Why it exists
The older perimeter model puts a firewall and a VPN around a trusted internal network. Inside, services accept connections from internal addresses, often without credentials, and admins reach whatever they can route to. That design assumes the inside stays clean. In practice attackers get in through phishing, a vulnerable dependency, a stolen VPN credential or a contractor laptop, and then move laterally: once inside, the network itself is the credential. Cloud, SaaS and remote work also dissolved the perimeter: there is no longer one inside.
How it works
Workload identity. Every workload gets a cryptographic identity issued after attestation (which Kubernetes service account, which node, which cloud instance role). SPIFFE defines the format (spiffe://trust-domain/path) and SPIRE, service meshes (Istio, Linkerd) and cloud platforms implement issuers. Credentials are short-lived (minutes to hours) and rotated automatically, so a stolen one expires quickly.
Mutual TLS. Service-to-service calls use mTLS: both sides present certificates, so the server knows which workload is calling and the client knows it reached the right server, and traffic is encrypted. A mesh's sidecar or node proxy does this transparently; connections are reused, so full handshakes are rare.
Per-request authorization. Each service (or its proxy) enforces policy on every request: orders may POST /charges on payments. Policies are default-deny and written in terms of identities and actions, not IP ranges. Engines such as OPA or Cedar, or mesh authorization policies, evaluate them locally from centrally managed rules. End-user identity is propagated too (a token from the edge), so services can check both the calling workload and the user it acts for.
Access for people. Instead of a VPN onto the network, an identity-aware access proxy sits in front of each internal application. On every request it checks the user (SSO with phishing-resistant MFA), the device (managed, patched, disk encrypted) and the policy for that application. Users reach applications, never networks.
Continuous verification and logging. Sessions are short, decisions are re-evaluated as signals change (device falls out of compliance, user is disabled), and every allow and deny is logged.
When to use it
- Any system with more than a handful of services, especially multi-tenant platforms and anything handling payments, health or personal data.
- Workforces that are remote or use SaaS heavily, where the VPN is a bottleneck and a broad attack surface.
- Hybrid and multi-cloud environments where no single network boundary exists.
- Regulated environments: many frameworks and government mandates now reference zero trust.
When not to
Zero trust is a direction, not a product to deploy all at once. For a small monolith with one database, mTLS meshes and policy engines may be more machinery than value: start with strong identity for people, least-privilege database credentials and TLS. Avoid big-bang rollouts that deny everything on day one; run policies in audit mode first.
Trade-offs
| Choice | You gain | You pay |
|---|---|---|
| mTLS everywhere | Authenticated, encrypted service calls | A CA to run, certificate rotation, harder debugging |
| Service mesh sidecars | Transparent mTLS and policy, uniform telemetry | Extra proxy per pod, CPU and memory, operational complexity |
| Fine-grained default-deny policies | Small blast radius, explicit dependencies | Policies to write, review and keep in sync with code |
| Access proxy instead of VPN | Per-app access, device checks, no network exposure | Every internal app must sit behind the proxy |
| Short-lived credentials | Leaks expire fast | Issuance infrastructure becomes critical |
Alternatives
- Network segmentation and firewalls (VLANs, security groups, Kubernetes NetworkPolicies): coarse but cheap, and a good complement; on their own they still trust by address.
- VPN with stricter rules: improves on a flat VPN but still grants network-level access.
- Application-level tokens only (each service validates a JWT from the caller): authenticates users and services without a mesh; lacks transport-level workload identity unless the tokens are workload-bound.
Failure modes
- Allow-all policies: mTLS deployed, but every identity may call everything. Authenticated, not authorized.
- Long-lived certificates or static tokens: a stolen credential works for months.
- The CA or policy distribution fails: no new certificates, no new workloads. Run issuers redundantly and keep a grace period before expiry.
- Bypass paths: a legacy service or debugging port outside the mesh accepts plaintext.
- Policy drift: rules stop matching the real call graph and teams add broad exceptions to unblock releases.
- Device checks only at login: a device that falls out of compliance keeps its session.
In production
Start with people: SSO and phishing-resistant MFA everywhere, then an access proxy for internal tools. For services, introduce workload identity and mTLS in permissive mode, observe the real call graph, then generate and enforce default-deny policies service by service. Give databases per-service, short-lived credentials (see Secrets Management). Alert on denied calls; a spike from one identity is a strong breach signal. Measure the latency cost on your stack rather than assuming it.
Common misconceptions
- "Zero trust means trusting nothing and nobody." It means trust is never implicit: it is granted per request, based on verified identity and policy.
- "Zero trust is a product." Vendors sell parts (proxies, meshes, identity providers). The model is an architecture.
- "mTLS equals zero trust." mTLS gives authentication and encryption; without per-request authorization, any authenticated service can still call anything.
- "Zero trust prevents breaches." It assumes breach and limits what a compromised component can reach.
- "It is too slow." Per-request checks on reused connections cost on the order of a millisecond per hop; operations cost more than latency.
Interview angle
Contrast perimeter and zero trust in one sentence, then make it concrete: workload identity (SPIFFE IDs issued by a mesh CA), mTLS on every hop, default-deny policies per identity and action, user identity propagated from the edge, short-lived database credentials, and an access proxy for staff. Walk through a compromised service and show what it can and cannot reach. Mention rollout in audit mode and the operational cost.
Model assumptions
Steps 1–7 are a scripted illustration, not a simulation: identities, certificates, policies and the attacker's moves are drawn as hand-placed packets with illustrative durations (12 ms at the edge, 5 ms between internal components). The engine has no notion of identity, certificates or network trust; a compromised service is shown as a degraded node. Step 8 and the recap use the simulation: Poisson arrivals at 300 requests per second, a gateway with 1 ms of work, orders and payments services with 16 workers and 6 ms mean service time each (lognormal, cv 0.3), and a database with 16 connections and 3 ms reads. Turning on mTLS and local policy is modelled as an illustrative +1 ms per hop (gateway, orders, payments), which moves p50 from about 42 ms to about 45 ms. Real overhead depends on the proxy, connection reuse and payload size; measure it. Numbers are illustrative, not benchmarks of any product.