From cfb51370720b129aa37e131cb5fda2b666a76986 Mon Sep 17 00:00:00 2001 From: adk-bot Date: Fri, 17 Apr 2026 18:31:50 +0000 Subject: [PATCH] Create new documentation for the Agent Identity integration --- docs/integrations/agent-identity.md | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/integrations/agent-identity.md diff --git a/docs/integrations/agent-identity.md b/docs/integrations/agent-identity.md new file mode 100644 index 0000000000..37407c169b --- /dev/null +++ b/docs/integrations/agent-identity.md @@ -0,0 +1,35 @@ +--- +catalog_title: Agent Identity +catalog_description: Manages the complete lifecycle of an access token using the GCP Agent Identity Credentials service. +--- + +# Agent Identity + +Manages the complete lifecycle of an access token using the GCP Agent Identity Credentials service. + +## Installation + +```bash +pip install "google-adk[agent-identity]" +``` + +## Global Registration + +Register the provider globally in your application: + +```python +from google.adk.auth.credential_manager import CredentialManager +from google.adk.integrations.agent_identity import GcpAuthProvider + +CredentialManager.register_auth_provider(GcpAuthProvider()) +``` + +## Toolset Configuration + +To use the Agent Identity provider with a toolset, define the scheme and pass it to the toolset's constructor. + +```python +from google.adk.integrations.agent_identity import GcpAuthProviderScheme +auth_scheme = GcpAuthProviderScheme(name="my-jira-auth_provider") +mcp_toolset_jira = McpToolset(..., auth_scheme=auth_scheme) +``` \ No newline at end of file