Skip to content

Instantly share code, notes, and snippets.

@rvennam
Created February 23, 2026 17:26
Show Gist options
  • Select an option

  • Save rvennam/217fe353a0a724dd43d043aa14778559 to your computer and use it in GitHub Desktop.

Select an option

Save rvennam/217fe353a0a724dd43d043aa14778559 to your computer and use it in GitHub Desktop.
Issue #140 config dump (jwt-test relevant sections only)
{
"policies": [
{
"key": "traffic/jwt-test/jwt-transform:jwt:jwt-test/jwt-route",
"name": {
"kind": "AgentgatewayPolicy",
"name": "jwt-transform",
"namespace": "jwt-test"
},
"target": {
"route": {
"name": "jwt-route",
"namespace": "jwt-test",
"kind": "HTTPRoute"
}
},
"policy": {
"traffic": {
"phase": "route",
"jwtAuth": {
"mode": "strict",
"providers": [
{
"issuer": "https://dev-qlf8ntg1.us.auth0.com/",
"keys": [
"e924HGwvVrCguEOxM6Id2",
"cbk8hehapCR79La64SbcT"
]
}
]
}
}
}
},
{
"key": "traffic/jwt-test/jwt-transform:transformation:jwt-test/jwt-route",
"name": {
"kind": "AgentgatewayPolicy",
"name": "jwt-transform",
"namespace": "jwt-test"
},
"target": {
"route": {
"name": "jwt-route",
"namespace": "jwt-test",
"kind": "HTTPRoute"
}
},
"policy": {
"traffic": {
"phase": "route",
"transformation": {
"request": {
"add": [],
"set": [
[
"x-user-tier",
"jwt['https://api.rvennam.com/tier']"
],
[
"x-user-sub",
"jwt.sub"
],
[
"x-static",
"'hello'"
]
],
"remove": [],
"body": null
},
"response": {
"add": [],
"set": [],
"remove": [],
"body": null
}
}
}
}
}
],
"binds": [
{
"key": "8080/enterprise-agentgateway/agentgateway",
"address": "[::]:8080",
"protocol": "http",
"tunnelProtocol": "direct",
"listeners": {
"enterprise-agentgateway/agentgateway.http": {
"key": "enterprise-agentgateway/agentgateway.http",
"gatewayName": "agentgateway",
"gatewayNamespace": "enterprise-agentgateway",
"listenerName": "http",
"hostname": "",
"protocol": "HTTP",
"routes": {
"agentcore/agentcore.0.0.http": {
"key": "agentcore/agentcore.0.0.http",
"name": "agentcore",
"namespace": "agentcore",
"kind": "HTTPRoute",
"matches": [
{
"path": {
"pathPrefix": "/"
}
}
],
"backends": [
{
"weight": 1,
"service": {
"name": "agentcore/agentcore-a2a-proxy.agentcore.svc.cluster.local",
"port": 9090
}
}
]
},
"jwt-test/jwt-route.0.0.http": {
"key": "jwt-test/jwt-route.0.0.http",
"name": "jwt-route",
"namespace": "jwt-test",
"kind": "HTTPRoute",
"matches": [
{
"path": {
"pathPrefix": "/jwt-test"
}
}
],
"backends": [
{
"weight": 1,
"service": {
"name": "jwt-test/httpbin.jwt-test.svc.cluster.local",
"port": 80
}
}
],
"inlinePolicies": [
{
"urlRewrite": {
"path": {
"prefix": ""
}
}
}
]
}
},
"tcpRoutes": {}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment