Last active
March 17, 2020 23:17
-
-
Save cfryanr/559c63cdeb12c830616f466b5b57ead5 to your computer and use it in GitHub Desktop.
Sketch of enhancing Istio authn policy to allow configuration of any ext_authz filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: "authentication.istio.io/v1alpha1" | |
kind: "Policy" | |
metadata: | |
name: "authcode-sample-app-authn-policy" | |
spec: | |
targets: | |
- name: authcode-sample-app | |
principalBinding: USE_ORIGIN | |
origins: | |
- jwt: | |
issuer: https://oidc-provider.yourcompany.com/oauth/token | |
jwksUri: https://oidc-provider.yourcompany.com/token_keys | |
# This is the new part, which would add an envoy ext_authz filter | |
authService: | |
address: 127.0.0.1 | |
port_value: 10003 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment