Skip to content

[FEATURE]: Add native Google Cloud Vertex AI provider with service account authentication #49

Description

@foxlox

Feature hasn't been suggested before.

  • I have verified this feature hasn't been suggested before.

Category

Provider / Model

Description

CyberStrike currently detects GOOGLE_APPLICATION_CREDENTIALS environment variable but maps it exclusively to Anthropic Claude via Vertex AI Model Garden. There is no way to use Google's own Gemini models on Vertex AI with service account authentication.
This blocks enterprise GCP users who:

Must keep data within their own GCP project (data residency, compliance)
Use service account keys (not API keys) for authentication
Require the "no-training" guarantee that only applies when using Vertex AI within their own project

Behaviour
$ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
$ cyberstrike auth list

┌ Environment

● Vertex (Anthropic) GOOGLE_APPLICATION_CREDENTIALS ← Only Claude, no Gemini
● Vertex GOOGLE_APPLICATION_CREDENTIALS ← Same

└ 2 environment variables

$ cyberstrike auth login "https://-aiplatform.googleapis.com/..."
Error: Failed to parse JSON

Proposal
// Pseudo-code for provider configuration
{
name: "vertex",
displayName: "Google Cloud Vertex AI",
baseUrlTemplate: "https://{location}-aiplatform.googleapis.com/v1/projects/{project}/locations/{location}/publishers/google/models/{model}",
authType: "service-account" | "adc" | "wif",
defaultModel: "gemini-2.5-flash-001",
models: [
"gemini-2.5-flash-001",
"gemini-2.5-pro-001",
"gemini-2.5-pro-preview-05-06"
],
requestFormat: "google-native", // not OpenAI-compatible
features: {
streaming: true,
toolUse: true,
systemInstruction: true,
longContext: true
}
}

Environment
CyberStrike version: 1.1.15
OS: Kali Linux
gcloud version: latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions