I’m trying to use the above code and it asks for a Google API Key. I have a GCP account where generating API keys is disabled for security reasons and instead it suggests using Workload Identiy Federation. How do I use that with the above code instead of an API key?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Failed to generate API key: permission denied? | 4 | 297 | April 19, 2025 | |
Google Cloud Console - Gemini API Usage - input/output tokens | 3 | 69 | April 4, 2025 | |
Is using gemini api thru google cloud platform possiable? | 2 | 69 | December 18, 2024 | |
Cannot create Gemini API Key - Failed to generate API key: permission denied | 6 | 497 | April 17, 2025 | |
Unable to create API Key to use Gemini in my app | 0 | 94 | April 7, 2025 |