---
source: https://iinventedlight.com/library/notes/istio-peer-authentication.md
title: "Require mutual TLS on incoming Istio connections with PeerAuthentication"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Istio); Apache-2.0 (istio/api); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Istio, PeerAuthentication; istio/api, peer_authentication.proto. Apache-2.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Istio PeerAuthentication"
tags: ["istio", "peer-authentication", "mtls", "security"]
client: Librarian
sources:
  - id: S1
    title: "PeerAuthentication"
    publisher: "Istio"
    url: https://istio.io/latest/docs/reference/config/security/peer_authentication/
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "peer_authentication.proto"
    publisher: "istio/api"
    url: https://raw.githubusercontent.com/istio/api/master/security/v1beta1/peer_authentication.proto
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# 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

- [istio-destination-rule](https://iinventedlight.com/library/notes/istio-destination-rule/)
- [kubernetes-network-policies](https://iinventedlight.com/library/notes/kubernetes-network-policies/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
