 namespace: foo
spec:
  selector:
    matchLabels:
      app: httpbin
  rules:
  - from:
    - source:
        requestPrincipals: [&quot;*&quot;]
</code></pre><ul><li>A policy in the root namespace (&ldquo;istio-system&rdquo; by default) applies to workloads in all namespaces
in a mesh. The following policy makes all workloads only accept requests that contain a
valid JWT token.</li></ul><pre><code class=language-yaml>apiVersion: security.istio.io/v1beta1
kind: RequestAuthentication
metadata:
  name: req-au