Keyboard

Shortcuts

Command palette
K
Home
gh
About
ga
Projects
gp
Expertise
gx
Journal
gj
Contact
gc
Copy email
e
Call
c
Toggle theme
t
Show this help
?

↑↓ to navigate · Enter to open · Esc to close

Infra & ops

Zero-trust API: mTLS between services + short JWTs

TL;DR Between services, we don't trust the network: mTLS by default + short tokens + sealed audit.

15 Jan 2026 · Nicolas Albert

  • mtls
  • jwt
  • zero-trust
  • api
Zero-trust API: mTLS between services + short JWTs

1 min read Reading 0%

In a monolith, trust is implicit. With two services, you must prove it. ZeroTrust API assumes the network isn't safe.

mTLS by default

Every service presents a client certificate; the other verifies it. No fragile IP allow-list, no shared secret in the URL.

Short JWTs

Access tokens live a few minutes and renew. An intercepted token only opens a tiny window — and replay is blocked by nonce.

The manageable PKI

The usual objection: « a PKI is hell to operate ». True if you build it yourself. Here, a lightweight local CA + automatic service-cert rotation is enough. The perimeter is small, the audit is real.

← Back to journal

Contact me Call