ainotis Join
My notis

Checked fact 669230 Nov 2026Agents and apps

Google's documentation says never to check API keys into source control or hardcode them in web or mobile apps, and if a key leaks to generate a new one, update the application and disable the old one.

The exact words it rests on

Never check API keys into source control systems like Git. ... Do not hardcode API keys directly in web or mobile apps. ... Create a replacement key in Google AI Studio or the Cloud console. ... Deploy your code using the new key. ... Disable the leaked key in the Cloud console once the new key is verified.

What the source said when we opened it, on 29 Nov 2026.

The source

Using Gemini API keys
Google

Checked

Checked by the notis newsroom on , against the source above.

In the story

How sign-in tokens and API keys differ, and what Antigravity's terms allow 30 Nov 2026

Cite this fact

Anyone may quote this address. It does not change; if we correct the story, this page says so.