PeerAuthentication
An Istio policy that sets whether workloads accept plain traffic or only mutual TLS, with the modes STRICT, PERMISSIVE and DISABLE.
In more detail
PERMISSIVE accepts both mutual TLS and plain text, which lets you migrate one service at a time. STRICT accepts mutual TLS only, so a client outside the mesh is refused. DISABLE turns mutual TLS off, and a policy for a namespace or one workload overrides the mesh-wide one.
Example
apiVersion: security.istio.io/v1
kind: PeerAuthentication
spec:
mtls:
mode: STRICTRelated terms
- Istio — An open-source service mesh for Kubernetes that adds a proxy beside each pod to encrypt, authenticate and control traffic between services.
- mutual TLS — TLS in which both sides present certificates, so the server also proves who the client is.
Taught in
- Encrypting Pod-to-Pod Traffic: mTLS With Istio And Cilium — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Ninety Minutes, Six Domains: Where The Marks Are — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Seven Findings, Two Owners: The 4Cs And Shared Responsibility — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Pinned For Stability: Images, Registries And Code — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Eleven Months Of Yes: The API Server — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Open To Every Interface: Controller Manager And Scheduler — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- A Copy Of The Backup: etcd — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Four Alerts, One Incident: Observability And The Mesh — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Platform Sprint: Evidence, Order, Proof — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Forty Three Of Sixty: The Mock, And How To Read It — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Audit Day: Final Review — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep