iac.htora.dev · security templates

Home/Refreshers/Encrypt and authorise every call between services: refresher

Encrypt and authorise every call between services

Mutual TLS between every service, and a deny-by-default rule for which service may call which.

Remember

  1. Service A calls service B: inside the cluster.
  2. The mesh checks both identities: mutual TLS.
  3. An authorisation rule decides: deny unless allowed.
  4. Refusals are logged: with the caller's identity, at Standard.
PlatformUsesThe part that catches people
KubernetesIstio in strict mutual TLS mode with deny-by-default authorisation, deployed by Argo CDIstio applies policies in its root namespace to every workload, including the ingress gateway, which outside users reach with no mesh identity.

Run the quick start

Check which clusterkubectl config current-context
Applykubectl apply -k .
Watch it synckubectl -n argocd get applications

Watch out

  • Mutual TLS gives every workload an identity from its service account.
  • Roll out one namespace at a time: sidecars first, then strict mutual TLS, then deny by default with the allow rules you need.
Check it worked

From a pod with no permission, call a protected service. The call is refused with 403. At Standard, the refusal is logged with the caller's identity.

Read the full pageDownload PDF

Registry 0.23.0. Built 2026-11-17.

Made by Habibullah Tora. Source on GitHub. Code under the MIT licence, writing under CC BY 4.0.