API Management: Restrict Gemini API keys
Maintainer antworten meist innerhalb von 1 Tag
@Prajna1999 arbeitet bereits daran.
Seit 09.10.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Is your feature request related to a problem?
Starting June 19, 2026, unrestricted API keys for the Gemini API will no longer be accepted, leading to potential unauthorized usage and billing risks. This causes errors and access issues for users relying on this API.
Describe the solution you'd like
- Restrict existing API keys for the Gemini API in Google Cloud Credentials.
- Alternatively, generate new restricted keys in Google AI Studio, which are restricted by default.
Original issue
Starting June 19, 2026, the Gemini API will stop accepting requests from unrestricted API keys to prevent unauthorized usage and billing risks. This error shows up
[GOOGLE_GCP] Authentication / permission denied (code: 403 PERMISSION_DENIED): Lightning dunning decision is deny for project: projects/877240188032. Verify the Google GCP API key is valid and not expired, the project_id and location are correct, and the service account has access to the requested model.
If your Google Cloud project has the Gemini API enabled and contains unrestricted keys, please restrict them immediately.
What to do:
Option 1 (Restrict existing keys): Go to [Google Cloud Credentials](https://console.cloud.google.com/apis/credentials), select your key, and under API restrictions, restrict it to Gemini API ([generativelanguage.googleapis.com](http://generativelanguage.googleapis.com/)).
Option 2 (New keys): Generate new restricted keys in [Google AI Studio](https://aistudio.google.com/app/apikey) and update your code.
Note: Keys generated directly in AI Studio are restricted to the Gemini API by default.
- Vorherrschende Sprache
- Python
- Sterne
- 18
- Forks
- 11
- Ø Merge
- 4 T. 3 Std.
- Gemergte PRs (30 T.)
- 13
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ProjectTech4DevAI/kaapi-backend
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Monitoring: Enhance alerting and securityEvtl. vergeben @Ayush8923 hat das vor 1 Tag übernommen. Offeninfrastructure
ProjectTech4DevAI/kaapi-backend#1271 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Celery: Investigate memory exitsEvtl. vergeben @vprashrex hat das vor 2 Tagen übernommen. Offen
ProjectTech4DevAI/kaapi-backend#1268 · 2 zugewiesene Personen ·
Maintainer antworten meist innerhalb von 1 Tag
-
Cloudflare: Investigate 520 error solutionsEvtl. vergeben @Prajna1999 hat das vor 2 Tagen übernommen. Offen
ProjectTech4DevAI/kaapi-backend#1267 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
ProjectTech4DevAI/kaapi-backend#1266 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in ProjectTech4DevAI/kaapi-backend
Ähnliche Issues
-
bug Size: XS
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
oposs/repo-infra#93 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
Graphify-Labs/graphify#4546 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
521xueweihan/HelloGitHub#4025 ·