Created
April 13, 2018 22:19
-
-
Save debianmaster/587f3ce0b23d54e1c3abfcb4180133d0 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