Forked from debianmaster/gist:587f3ce0b23d54e1c3abfcb4180133d0
Created
June 6, 2018 07:47
-
-
Save amitbansal26/78aa88c55783695900525d0ad7b8ad1f to your computer and use it in GitHub Desktop.
test.yaml
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: config.istio.io/v1alpha2 | |
kind: EndUserAuthenticationPolicySpec | |
metadata: | |
name: cars-api-auth-policy | |
namespace: default | |
spec: | |
jwts: | |
- issuer: http://keycloak:8080/auth/realms/istio | |
jwks_uri: http://keycloak:8080/auth/realms/istio/protocol/openid-connect/certs | |
audiences: | |
- cars-web | |
--- | |
apiVersion: config.istio.io/v1alpha2 | |
kind: EndUserAuthenticationPolicySpecBinding | |
metadata: | |
name: cars-api-auth-policy-binding | |
namespace: default | |
spec: | |
policies: | |
- name: cars-api-auth-policy | |
namespace: default | |
services: | |
- name: cars-api | |
namespace: default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment