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: STRICT

Related terms

Taught in

References

Certification courses