google-gemini / google-gemini/gemini-cli

[Low Priority] [Remote Agents] A2A Machine-to-Machine Auth

Open
#17,602 4 comments 0 reactions 1 assignee Claimed by @Ujjiyara View on GitHub
🔒 maintainer only area/agent kind/enhancement priority/p3 status/bot-triaged workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

**Note: Low Priority.** Gemini CLI is primarily run in an interactive environment. This issue tracks non-interactive, service-to-service authentication mechanisms.

**Connection Mechanisms:**
- **OAuth 2.0 Client Credentials Flow:**
- The CLI acts as its own "user" using a `client_id` and `client_secret`.
- Tokens are retrieved directly from the `tokenUrl` without browser interaction.
- **Mutual TLS (mTLS):**
- Support transport-layer authentication using client certificates.
- Allow users to specify certificate and key paths in their `AgentDefinition`.

**Requirements:**
- Implement service-to-service authentication logic.
- Allow configuration of M2M credentials via `AgentDefinition`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.