Skip to content

Instantly share code, notes, and snippets.

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