fix: declare google vertex local auth evidence

This commit is contained in:
Shakker
2026-04-29 18:55:02 +01:00
parent 225620a9b3
commit dec5de8a2c
2 changed files with 27 additions and 2 deletions

View File

@@ -76,7 +76,18 @@
{
"id": "google-vertex",
"authMethods": ["api-key"],
"envVars": ["GOOGLE_CLOUD_API_KEY"]
"envVars": ["GOOGLE_CLOUD_API_KEY"],
"authEvidence": [
{
"type": "local-file-with-env",
"fileEnvVar": "GOOGLE_APPLICATION_CREDENTIALS",
"fallbackPaths": ["${HOME}/.config/gcloud/application_default_credentials.json"],
"requiresAnyEnv": ["GOOGLE_CLOUD_PROJECT", "GCLOUD_PROJECT"],
"requiresAllEnv": ["GOOGLE_CLOUD_LOCATION"],
"credentialMarker": "gcp-vertex-credentials",
"source": "gcloud adc"
}
]
}
]
},