I’m testing Google Cloud Agent Runtime with Agent Identity behind an Agent-to-Anywhere Agent Gateway.
I’m consistently seeing this behavior:
Runtime-bound token protection enabled
- Agent Runtime uses Agent Identity
- Request goes through Agent Gateway
- Gateway intercepts the request
- Gateway authorization shows
ALLOWED - Destination is
aiplatform.mtls.googleapis.com - Vertex AI returns
401 UNAUTHENTICATED
Runtime-bound token protection disabled
- Same Runtime
- Same Agent Identity
- Same Gateway
- Same IAM / Agent Registry configuration
- Same Gemini model and API version
- Gemini succeeds
- MCP calls through Agent Gateway also succeed
So the difference appears to be specifically around the runtime-bound-token / CAA / mTLS-to-DPoP handoff through Agent Gateway.
I also noticed that Google’s current Agent Runtime → Agent Gateway deployment examples explicitly disable runtime-bound token protection, while the CAA Agent Security documentation describes Agent Gateway using DPoP after mTLS termination.
Has anyone successfully used:
Agent Runtime + Agent Identity + Agent-to-Anywhere Gateway + runtime-bound tokens enabled
for Vertex AI / Gemini calls?
I’m trying to understand whether this is:
- a known current limitation,
- an additional configuration requirement,
- or an issue in the Gateway / CAA authentication handoff.
I have already raised this with Google:
Google Issue Tracker: Google Issue Tracker
I have also raised a companion issue in googleapis/python-aiplatform.
Any confirmation from someone who has tested this exact combination would be very helpful.