From 37aa47dc8b311278b8a1523a589683ef6ec08e3f Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Wed, 22 Apr 2026 13:07:15 -0700 Subject: [PATCH] feat: Add mTLS support for telemetry endpoint. This change enables the telemetry exporter to use mTLS endpoints when configured, by dynamically determining the correct endpoint and configuring the requests session accordingly. It introduces helper functions to handle client certificate source management. PiperOrigin-RevId: 904002118 --- vertexai/agent_engines/templates/adk.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vertexai/agent_engines/templates/adk.py b/vertexai/agent_engines/templates/adk.py index 6bab24f0a2..1144e7d096 100644 --- a/vertexai/agent_engines/templates/adk.py +++ b/vertexai/agent_engines/templates/adk.py @@ -818,11 +818,6 @@ def set_up(self): from google.adk.memory.in_memory_memory_service import InMemoryMemoryService os.environ["GOOGLE_GENAI_USE_VERTEXAI"] = "1" - # --- BEGIN BOUND TOKEN PATCH --- - # Set GOOGLE_API_PREVENT_AGENT_TOKEN_SHARING_FOR_GCP_SERVICES to false - # to disable bound token sharing. - os.environ["GOOGLE_API_PREVENT_AGENT_TOKEN_SHARING_FOR_GCP_SERVICES"] = "false" - # --- END BOUND TOKEN PATCH --- project = self._tmpl_attrs.get("project") if project: os.environ["GOOGLE_CLOUD_PROJECT"] = project