API Management: Restrict Gemini API keys
Mantenedores costumam responder em até 2 dias
@Prajna1999 já está trabalhando nisso.
Desde 9/10/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 18
- Forks
- 11
- Merge médio
- 3d 5h
- PRs com merge (30d)
- 10
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ProjectTech4DevAI/kaapi-backend
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Mantenedores costumam responder em até 2 dias
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ProjectTech4DevAI/kaapi-backend#269 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Migration: Update to Google Gen AITalvez já em andamento @Prajna1999 assumiu há 2 dias. Aberta
ProjectTech4DevAI/kaapi-backend#1238 · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
Deployment: Update AWS account configurationTalvez já em andamento @Ayush8923 assumiu há 2 dias. Abertainfrastructure
ProjectTech4DevAI/kaapi-backend#1236 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
Penetration Testing: Integrate Shannon for reportsTalvez já em andamento @Prajna1999 assumiu há 3 dias. Aberta
ProjectTech4DevAI/kaapi-backend#1232 · 1 responsável ·
Mantenedores costumam responder em até 2 dias
Todas as issues de ProjectTech4DevAI/kaapi-backend
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
NVIDIA/earth2studio#1241 ·
Mantenedores costumam responder em até 3 dias
-
docs(types): update the collection binding note now that typed collections shipped in pycubrid 1.9.0Abertadocumentation priority: low size: S
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
cubrid-lab/sqlalchemy-cubrid#768 ·
Mantenedores costumam responder em até 1 dia
-
bug help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
Broken link in index.rstAbertadocumentation
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 65/100
ansys/pydpf-core#3547 ·
Mantenedores costumam responder em até 1 dia
-
good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
OktoLabsAI/okto-pulse#114 ·
Mantenedores costumam responder em até 1 dia