Back Issues/Search Home → Calendar → Archive → RSS → Subscribe → Services → Vendors → Blog → Current Issue → Popular → Newsletters (LinkedIn, Substack)

All issues › Volume 344, Issue 3 › IT Vendor News › Google

Ultimate Guide for Fixing Your Team's API Keys

Google, Friday, November 20th, 2026

Google Cloud gives startups a five-step guide to replacing raw Gemini API keys with identity-based credentials and least-privilege access.

Google Cloud walks startups through moving off raw AI Studio API keys, which are non-expiring bearer tokens with no built-in spend limit that can be abused within minutes of leaking.

The steps are to scan for existing keys, sign developers in with Application Default Credentials, run applications under dedicated service accounts with short-lived tokens, and grant only the roles/aiplatform.user role, ideally to Google groups.

Remaining third-party keys such as Stripe or Slack belong in Secret Manager, and every key that left a laptop should be deleted.

The post also covers org policies blocking new key creation, spend cap budgets in Preview that pause a service when estimated spend passes a limit, quotas, and Model Armor screening of prompts and responses.

more →  ·  More from Google →