Closed Mon-ius closed 3 months ago
https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal#gemini-setup-environment-drest
Do we must use gcloud auth print-access-token?
gcloud auth print-access-token
It return `status: 401`, invalid_token\
You can't use API keys for Vertex AI, you must use IAM. gcloud auth print-access-token is one way of accessing.
Note: If you are familiar with Gemini API in Google AI Studio, note that Gemini API for Vertex AI uses Identity and Access Management instead of API keys to manage access.
But the IAM will be expired which cannot build a robust and stable AI service from DEV side
File Name
https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal#gemini-setup-environment-drest
What happened?
Do we must use
gcloud auth print-access-token
?Relevant log output
Code of Conduct