Skip to content

Commit bebc0b6

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
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
1 parent 3d380ba commit bebc0b6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • vertexai/agent_engines/templates

vertexai/agent_engines/templates/adk.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -818,11 +818,6 @@ def set_up(self):
818818
from google.adk.memory.in_memory_memory_service import InMemoryMemoryService
819819

820820
os.environ["GOOGLE_GENAI_USE_VERTEXAI"] = "1"
821-
# --- BEGIN BOUND TOKEN PATCH ---
822-
# Set GOOGLE_API_PREVENT_AGENT_TOKEN_SHARING_FOR_GCP_SERVICES to false
823-
# to disable bound token sharing.
824-
os.environ["GOOGLE_API_PREVENT_AGENT_TOKEN_SHARING_FOR_GCP_SERVICES"] = "false"
825-
# --- END BOUND TOKEN PATCH ---
826821
project = self._tmpl_attrs.get("project")
827822
if project:
828823
os.environ["GOOGLE_CLOUD_PROJECT"] = project

0 commit comments

Comments
 (0)