Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active January 13, 2019 22:15
Show Gist options
  • Save garystafford/2437110cfb64a16ca3cefa224fb8a3c5 to your computer and use it in GitHub Desktop.
Save garystafford/2437110cfb64a16ca3cefa224fb8a3c5 to your computer and use it in GitHub Desktop.
apiVersion: authentication.istio.io/v1alpha1
kind: Policy
metadata:
name: ingressgateway
namespace: istio-system
spec:
targets:
- name: istio-ingressgateway
peers:
- mtls: {}
origins:
- jwt:
audiences:
- "https://api.storefront-demo.com/"
issuer: "https://storefront-demo.auth0.com/"
jwksUri: "https://storefront-demo.auth0.com/.well-known/jwks.json"
principalBinding: USE_ORIGIN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment