consul/agent/xds/testdata/jwt_authn/multiple-providers-and-one-...

60 lines
1.3 KiB
Plaintext

{
"name": "envoy.filters.http.jwt_authn",
"typedConfig": {
"@type": "type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication",
"providers": {
"okta": {
"issuer": "test-issuer",
"remoteJwks": {
"httpUri": {
"uri": "https://example-okta.com/.well-known/jwks.json",
"cluster": "jwks_cluster",
"timeout": "1s"
},
"asyncFetch": {
"fastListener": true
}
}
},
"auth0": {
"issuer": "another-issuer",
"remoteJwks": {
"httpUri": {
"uri": "https://example-auth0.com/.well-known/jwks.json",
"cluster": "jwks_cluster",
"timeout": "1s"
},
"asyncFetch": {
"fastListener": true
}
}
}
},
"rules": [
{
"match": {
"prefix": "/some-special-path"
},
"requires": {
"providerName": "okta"
}
},
{
"match": {
"prefix": "/"
},
"requires": {
"providerName": "okta"
}
},
{
"match": {
"prefix": "/"
},
"requires": {
"providerName": "auth0"
}
}
]
}
}