I received an email with that title claiming that we have somewhere an unrestricted key that enables the generative AI API and it’ll stop working after June 19th.
We are reaching out to remind you because your project currently has the Gemini API (
generativelanguage.googleapis.com) enabled and contains at least one unrestricted API key. To prevent unauthorized usage, we ask you to restrict all your unrestricted API keys by June 19, 2026. After this deadline, unrestricted keys will no longer be accepted by the Gemini API.
For the life of me, I can’t figure out which key this are referring to. I went through all of the GCP projects in the organization under the credentials page and looked at all the API keys that exist. All of them are restricted to a specific subset of APIs. They are not restricted to an application, but I don’t think that’s what this is referring to.
The help page points at AI Studio showing which keys are unrestricted, but none of them have a label on them and the UI doesn’t have the functionality referred to by that page.
The last thing I want is to have our app experience downtime in a week due to not being able to find what this is referring to.
Note: The one hint that may be related is that I found that the organization policy does not enable service account API restrictions (iam.managed.disableServiceAccountApiKeyCreation is enabled) which I suspect may be affecting the UI I’m seeing in AI Studio. But the same help page that points to this org policy says
Note: You don’t need to change the organization policy constraint for authorization keys that are solely restricted to the Gemini API (
generativelanguage.googleapis.com).
Thanks.