Skip to content

Support GCP credentials (Vertex AI) as a BYOK authentication method #9314

@etirelli

Description

@etirelli

Pre-submit Checks

Describe the solution you'd like?

Add GCP credentials as a supported BYOK authentication method for accessing AI models via Google Cloud's Vertex AI platform.

Concretely, this means:

  • A new GCP / Vertex AI option in BYOK settings, alongside the existing Anthropic and Gemini API key options.
  • Support for standard GCP auth methods: Application Default Credentials (gcloud auth application-default login), service account JSON key file, or GOOGLE_APPLICATION_CREDENTIALS environment variable.
  • A GCP project ID and region field (required by Vertex AI's API endpoint, unlike direct provider APIs).
  • Model routing through Vertex AI endpoints for any model available there — at minimum Claude (Anthropic on Vertex AI) and Gemini (via Vertex AI, distinct from the existing Gemini API key path).

The auth layer is the same for all Vertex AI models, so a single implementation covers the full Vertex AI model catalog — current and future.

Is your feature request related to a problem? Please describe.

Enterprise and GCP-centric teams commonly operate under policies that:

  • Require all cloud access to go through GCP IAM and service accounts rather than raw API keys.
  • Mandate data residency within GCP's infrastructure (relevant for regulated industries).
  • Consolidate billing and auditability through a single GCP project.

Warp's current BYOK options require direct API keys from Anthropic (api.anthropic.com) or Google AI Studio. These don't satisfy GCP-based access controls. The sharpest gap today is Claude on Vertex AI — Anthropic makes its models available through Vertex AI for enterprise customers, but there is no way to use that access in Warp. The same applies to Gemini accessed via Vertex AI (which has a different endpoint and auth model than the Gemini API).

Additional context

  • Anthropic's Claude models are available on Vertex AI for enterprise customers (docs).
  • Gemini on Vertex AI uses a different endpoint and auth model than the Google AI Studio API key — both paths would benefit from this.
  • GCP auth is standardized through the ADC ecosystem, so one auth implementation covers all current and future Vertex AI models.
  • This is complementary to, not a replacement for, the existing Gemini API key BYOK — users on AI Studio continue to use API keys; only Vertex AI users need GCP credentials.

Operating system (OS)

macOS, Linux, Windows

How important is this feature to you?

5 (Can't work without it — enterprise GCP users have no path to use Claude or Vertex AI models in Warp today)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

Ignore

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.enhancementNew feature or request.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions