Skip to content

Instantly share code, notes, and snippets.

@StevenReitsma
Created January 19, 2021 15:28
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 StevenReitsma/e258c8fb6610dea509bccd9f16091457 to your computer and use it in GitHub Desktop.
Save StevenReitsma/e258c8fb6610dea509bccd9f16091457 to your computer and use it in GitHub Desktop.
kind: RequestAuthentication
apiVersion: security.istio.io/v1beta1
metadata:
name: enforce-jwt-for-apis
namespace: api
spec:
jwtRules:
- audiences:
- ml
fromHeaders:
- name: Authorization
prefix: "Bearer "
issuer: "https://idp.local/auth/realms/ML"
jwksUri: "https://idp.local/auth/realms/ML/.well-known/jwks.json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment