You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Service Account Authentication for Vertex AI Without gcloud CLI #392
Currently, it appears that using Vertex AI requires the gcloud CLI. url
What is the recommended way to use the ADK with Vertex AI models programmatically, without relying on the CLI tool?
for example, from a remote machine running in Docker outside of GCP?
My current approach (outside of ADK) is to create a Google service account and use the following Python code:
Activity
boyangsvl commentedon Apr 25, 2025
You may use the GOOGLE_APPLICATION_CREDENTIALS environment variable. See https://cloud.google.com/docs/authentication/application-default-credentials. Moving this to discussions.