# Request to restore standard AIza API key - accidental key exposure

**URL:** <https://discuss.ai.google.dev/t/request-to-restore-standard-aiza-api-key-accidental-key-exposure/171290>\
**Category:** Gemini API\
**Tags:** api-key\
**Created:** [June 15, 2026, 4:10am UTC](https://discuss.ai.google.dev/t/request-to-restore-standard-aiza-api-key-accidental-key-exposure/171290 "2026-06-15T04:10:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaime\_Palmiras](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jaime_palmiras/32/131363_2.png) [@Jaime\_Palmiras](https://discuss.ai.google.dev/u/Jaime_Palmiras)\
**Post date:** [June 15, 2026, 4:10am UTC](https://discuss.ai.google.dev/t/request-to-restore-standard-aiza-api-key-accidental-key-exposure/171290/1 "2026-06-15T04:10:07Z")

</div>

Hello Google AI Support Team,

My account is currently restricted to generating AQ. prefix API keys instead of the standard AIza format. This restriction happened after I accidentally exposed my API key in a screenshot.

I have already deleted all exposed API keys. I understand the importance of keeping API keys private and will ensure this does not happen again.

Please restore my account’s ability to generate standard AIza format API keys.

Account email: [pl....@gmail.com](mailto:pl....@gmail.com)

Thank you.

---

<div class="post-metadata">

**Author:** ![Mahesh\_Sutar](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mahesh_sutar/32/31644_2.png) [@Mahesh\_Sutar](https://discuss.ai.google.dev/u/Mahesh_Sutar)\
**Post date:** [June 18, 2026, 8:04am UTC](https://discuss.ai.google.dev/t/request-to-restore-standard-aiza-api-key-accidental-key-exposure/171290/2 "2026-06-18T08:04:48Z")

</div>

Hello @Jaime_Palmiras,

We are moving away from Traffic keys (Alza) and towards a more secure Authentication Key (AQ). AI Studio will now only generate Authentication Key (AQ) keys. More information on key usage can be found in the Using [Gemini API keys](https://ai.google.dev/gemini-api/docs/api-key) documentation].

Please submit any compatibility issues with services / SDKs etc. in [this form](https://docs.google.com/forms/d/e/1FAIpQLSeE_etCum8howWWbOUP-nZubqejkr6RJ2OyHo3NAs6CmojdTQ/viewform) for our engineering team to review. Thanks!

---

<div class="post-metadata">

**Author:** ![tuapuikia99](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/tuapuikia99/32/95085_2.png) [@tuapuikia99](https://discuss.ai.google.dev/u/tuapuikia99)\
**Post date:** [June 18, 2026, 8:10am UTC](https://discuss.ai.google.dev/t/request-to-restore-standard-aiza-api-key-accidental-key-exposure/171290/3 "2026-06-18T08:10:16Z")

</div>

After September, the Gemini API will only accept AQ keys. This is an API key that is bound to a service account with no other permissions granted except for the Gemini API. Please correct me if I’m wrong.

---

<div class="post-metadata">

**Author:** ![system](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/system/32/1_2.png) [@system](https://discuss.ai.google.dev/u/system)\
**Post date:** [November 5, 2026, 6:42pm UTC](https://discuss.ai.google.dev/t/request-to-restore-standard-aiza-api-key-accidental-key-exposure/171290/4 "2026-11-05T18:42:18Z")

</div>

Closed on November 5, 2026, 6:42pm UTC

This thread was automatically closed 60 days after the last reply. If you are running into an issue, please create a new post.
