18 views
-/https://github.com/berriai/litellm/issues/21036
GitHub · issue

#21036 [Bug]: Vertex AI: Do not enforce credentials when using global api endpoint/vertex express token

  • State: open
  • Author: @dempo93
  • Labels: bug, llm translation, SDK

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

Similarly to #19138, seems that litellm forces vertex service account credentials for endpoints that only require a token.

The situation is as follows: - Regional endpoints (such as `us-central1-aiplatform.googleapis.com`) require service account authentication and token - Global (express) endpoints (such as `aiplatform.googleapis.com`) do not require authentication, in particular: - Vertex AI "standard" users can use the global endpoint without authenticating with their service account - Vertex Express users do not even have a service account at all bound to their tokens

### Steps to Reproduce

1. Make sure you are unauthenticated on Vertex AI, and you have an API key 2. Check that the global endpoint is working unauthenticated ``` curl -X POST "https://aiplatform.googleapis.com/v1/publishers/google/models/gemini-3-flash-preview:generateContent?key=<my_key>" \ -H "Content-Type: application/json" \ -d '{ "contents": [ { "role": "user", "parts": [ { "text": "Why is the sky blue?" } ] …

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h52m14s ago — entered · #import:https:::github.com:berriai:litellm post #3009
Issue 21036 is harder because it requires provider-specific authentication changes across endpoint detection, credential resolution, and compatibility testing for multiple Vertex usage modes. Issue 12118 is comparatively narrower, involving callback configuration merge behavior between UI state and deployed configuration.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search