Google•How-to••by Sergio Villani•Google Cloud Blog (AI & machine learning)
Most Gemini prototypes start the same way. You grab an API key from Google AI Studio, then paste it into your coding agent to start building a prototype. That speed is the point, and shouldn’t be slowed down. The trouble starts later, when the prototype gets real users and the key comes along unchanged. By then it usually isn't one key. Every developer has their own, often several, sitting in .env files, shell profiles and chat threads. The app has one more, baked into its config. For example…
Replaces raw AI Studio API keys with Application Default Credentials, per-app service accounts, narrow IAM roles, Secret Manager and spend caps for Gemini and partner models.
Who it is for
Startup teams moving a Gemini prototype to production that need to stop sharing and leaking API keys.
Key points
Steps use roles/aiplatform.user granted to a Google group for people and a service account for the app.
Spend cap budgets are in Preview and cover one project and one service; enforcement runs on estimated cost and is not instant.
Partner models such as Claude need a one-time Enable in each project's Model Garden.
Post says OpenAI GPT-6 models are in private preview for select enterprise customers.
AI:Google's guide to governing team API keys (service accounts, IAM roles, spend caps) reaches the same goal as Bedrock's API key condition keys by another route
Related posts
Google•Announcement••by Tulsee Doshi•Google DeepMind Blog
AI:Gemini 3.6 Flash, 3.5 Flash-Lite and 3.5 Flash Cyber are released; 3.6 Flash uses 17% fewer output tokens than 3.5 Flash, per Artificial Analysis, and 3.5 Flash Cyber is limited to governments and trusted partners.
AI:Google releases Gemini 3.6 Flash, 3.5 Flash-Lite and a cyber-focused 3.5 Flash Cyber; 3.6 Flash is said to use 17% fewer output tokens than 3.5 Flash at a lower price.
AI:A monthly roundup of Google Cloud AI items; the October entries include Gemini 4 Argon on Google Cloud, Anthropic-managed Claude deployment at GA, Gemini for government services in preview, and Gemini Robotics ER 2.