 the mesh. (Assuming the root namespace is
configured to &ldquo;istio-config&rdquo;).</p><pre><code class=language-yaml>apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
 name: policy
 namespace: istio-config
spec:
 selector:
   matchLabels:
     version: v1
</code></pre><h2 id=AuthorizationPolicy>AuthorizationPolicy</h2><section><p>AuthorizationPolicy enables access control on workloads.</p><p>For example, the following authorization policy denies all requests to workloads
in namesp