Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/integrations/agent-identity.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
catalog_title: Agent Identity
catalog_description: Manages the complete lifecycle of an access token using the GCP Agent Identity Credentials service.
---

# Agent Identity

## 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 specific 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)
```
Loading