Validate Google Vertex access
Fetches a token via your chosen Vertex auth method and asks Vertex about a model, confirming end-to-end that both auth and model access work before saving the credential.
Authorizations
JWT obtained through Barndoor's authentication flow. Pass the token
verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's
loginInteractive() helper to obtain a token in scripts and notebooks.
Body
"my-gcp-project"
"us-central1"
Defaults to google_adc if omitted
"google_service_account"
vertex_gemini, anthropic_messages Service account to impersonate (only for google_impersonation)
Service-account JSON fields (only for google_service_account)
Optional model id used to validate end-to-end model access
"gemini-1.5-pro"
Response
Validation result
true
