API Management: Restrict Gemini API keys
Maintainer thường phản hồi trong vòng 1 ngày
@Prajna1999 đang làm issue này rồi.
Từ ngày 9/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 18
- Fork
- 11
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ProjectTech4DevAI/kaapi-backend
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ProjectTech4DevAI/kaapi-backend#269 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Logging: Reduce INFO log noiseCó thể đã có người làm @vprashrex đã nhận 1 ngày trước. Đang mởmaintenance
ProjectTech4DevAI/kaapi-backend#1243 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sentry Integration: Dynamic release taggingCó thể đã có người làm @vprashrex đã nhận 1 ngày trước. Đang mởenhancement parent
ProjectTech4DevAI/kaapi-backend#1242 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sentry Integration: Track staging commitsCó thể đã có người làm @vprashrex đã nhận 1 ngày trước. Đang mởenhancement
ProjectTech4DevAI/kaapi-backend#1241 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ProjectTech4DevAI/kaapi-backend
Issue tương tự
-
Claiming namespace `jft63`Đang mởnamespace operations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
EclipseFdn/open-vsx.org#14043 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
netbox status: needs triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
netbox-community/netbox#23376 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feedback simulation workshop
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
githubnext/gh-aw-workshop#4455 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Triage 🩺
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Container scenario crashes without expected_recovery_time, kube DNS example uses retry_waitĐang mởneeds-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
krkn-chaos/krkn#1627 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày