apiVersion: authentication.istio.io/v1alpha1
kind: Policy
metadata:
name: default
spec:
origins:
- jwt:
issuer: testing@secure.istio.io
jwksUri: "https://raw.githubusercontent.com/istio/istio/release-1.6/security/tools/jwt/samples/jwks.json"
triggerRules:
- excludedPaths:
- prefix: /metrics
- prefix: /healthz
principalBinding: USE_ORIGIN