Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JWT Policy
apiVersion: authentication.istio.io/v1alpha1
kind: Policy
metadata:
name: jwt-example
namespace: foo
spec:
origins:
- jwt:
issuer: testing@secure.istio.io
jwksUri: https://raw.githubusercontent.com/istio/istio/release-1.3/security/tools/jwt/samples/jwks.json
peers:
- mtls: {}
principalBinding: USE_ORIGIN
targets:
- name: httpbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment