Created
May 3, 2020 10:11
-
-
Save fai555/578d86d00899e6695649273ac9789dc5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| kubectl apply -f - <<EOF | |
| apiVersion: "security.istio.io/v1beta1" | |
| kind: "RequestAuthentication" | |
| metadata: | |
| name: "jwt-example" | |
| namespace: istio-system | |
| spec: | |
| selector: | |
| matchLabels: | |
| istio: ingressgateway | |
| jwtRules: | |
| - issuer: "ISSUER" | |
| jwks: | | |
| { "keys":[{"e":"AQAB","kty":"RSA","n":"3LlzeRY6gbIVwGO7AxO1bN3-CgWwIpWOT8m485AzkOdhxgCWc2F-3OqAigDyyDMqXtH1ovCaZnEIf3ZkJin7Y_zC48TNQwlKnuM29CrTjnYR1c_w30ZT4PNIisEwLKuEX5uRHuIrKYBxwwVf4eqoFmtpZbrmwDPCA1ZMFox0v40q1m_SecCB286alE42Ohb6j0ZuntjO5rg2ZyQt3EmxEDPE2Iuh737gYhXLuFhTiYH5S_kFokX1Yv0RdUyiGcmaxXgGaF3iglnsOHv9209uwlzrcDAouOD7PYbLjCoqpWydVLyxcJGqjF5i7CK36q_SVmpGHbIsdOlZQLWNA97AgQ"}]} | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment