Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created January 16, 2019 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/9d264886882707f33646a7e2d1eab7e9 to your computer and use it in GitHub Desktop.
Save garystafford/9d264886882707f33646a7e2d1eab7e9 to your computer and use it in GitHub Desktop.
apiVersion: authentication.istio.io/v1alpha1
kind: Policy
metadata:
name: default
namespace: dev
spec:
peers:
- mtls: {}
origins:
- jwt:
audiences:
- "storefront-api-dev-test"
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