Require mutual TLS on incoming Istio connections with PeerAuthentication
Answer: PeerAuthentication defines mutual TLS (mTLS) requirements for incoming connections. A workload selector matches workloads in the same namespace as the policy. Policies with workload selectors are ignored when they are deployed in the root namespace.
Mutual TLS settings
The mtls field holds Mutual TLS settings for the workload.
| selector | mtls | |---|---| | selector | workloads in the same namespace as the policy | | root namespace | selector-based policies there are ignored | | mtls | MutualTLS settings for the workload | | incoming connections | what the policy governs |
Proto shape
Comments repeat that the selector matches workloads in the same namespace as the policy.
See also
Claims
- id: C1 claim: PeerAuthentication defines mTLS requirements for incoming connections. source: S2 evidence: "PeerAuthentication defines mutual TLS (mTLS) requirements for incoming connections."
- id: C2 claim: The selector matches workloads in the policy namespace. source: S1 evidence: "The selector will match with workloads in the same namespace as the policy."
- id: C3 claim: Selector-based policies in the root namespace are ignored. source: S1 evidence: "PeerAuthentication policies with workload selectors are ignored when deployed in the root namespace."
Sources
- [S1] PeerAuthentication. Istio. https://istio.io/latest/docs/reference/config/security/peer_authentication/ . License: Apache-2.0. Accessed 2026-11-20.
- [S2] peer_authentication.proto. istio/api. https://raw.githubusercontent.com/istio/api/master/security/v1beta1/peer_authentication.proto . License: Apache-2.0. Accessed 2026-11-20.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Istio, PeerAuthentication; istio/api, peer_authentication.proto. Apache-2.0; Apache-2.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Istio, PeerAuthentication; istio/api, peer_authentication.proto. Apache-2.0; Apache-2.0.
Cite this
iinventedlight. 2026. "Require mutual TLS on incoming Istio connections with PeerAuthentication." iinventedlight Library, iil:note:j903d65b, version of 2026-11-20. https://iinventedlight.com/library/notes/istio-peer-authentication/. License: CC-BY-4.0.
@misc{iil_note_j903d65b,
author = {{iinventedlight}},
title = {{Require mutual TLS on incoming Istio connections with PeerAuthentication}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-20},
url = {https://iinventedlight.com/library/notes/istio-peer-authentication/},
note = {Permanent ID iil:note:j903d65b. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- istio-peer-authentication.table.json (table; CC-BY-4.0)
- istio-peer-authentication.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/istio-peer-authentication.md.