Skip to main content
Question

Logs for Google AI Studio Keys in Google Cloud?

  • February 13, 2026
  • 3 replies
  • 0 views

ar3diu
Forum|alt.badge.img+9

Does anyone know if and how both the creation and usage of an AI Studio API Key is logged (in GCP_CLOUDAUDIT logs)?

3 replies

matthewnichols
Community Manager
Forum|alt.badge.img+19
  • Community Manager
  • February 13, 2026

Hi ​@ar3diu are you referring to how it is logged in SecOps? Can you explain more for context? 


cmorris
Staff
Forum|alt.badge.img+11
  • Staff
  • February 13, 2026

Regular AI Studio or Vertex AI Studio?

As the regular AI Studio exists outside of GCP, I would not expect API key creation to be logged to the Cloud Audit logs.

For Vertex AI Studio, the creation, modification, or deletion of an API key would be considered an Admin Activity and would be logged to GCP_CLOUDAUDIT. The actual use of the key to make requests is tracked via Data Access logs and would need to be enabled.


ar3diu
Forum|alt.badge.img+9
  • Author
  • Silver 2
  • February 13, 2026

@matthewnichols ​@cmorris 

I’m talking about API keys created at https://aistudio.google.com. You must provide a GCP Project ID when creating a key; that’s why I thought it could be logged in GCP audit logs.

If someone steals these keys, they can use them in their own tools.

According to Google's blog, threat actors could be targeting exactly this type of keys.