Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Support for ephemeral tokens in Model providers

Aberta
#4,848 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa

Direção de pesquisa

Start by reading the model provider configuration and authentication entry points; the issue mentions SQLite storage and the GitHub App UI but names no source files or tests. Compare the proposed environment variable, refresh, and credentials helper approaches, along with bearer token support, to determine a workable scope. Done means providers can use short-lived credentials and bearer authentication; the issue does not specify which approach to implement.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Support for ephemeral tokens in Model providers
We added recently the Google compatible OpenAI API to our model providers in GitHub App, our company have policies to restrict the TTL of the API keys so we have to rotate them often. The only way I found to rotate the API key in the model provider is using the UI. Investigating a lible I found the configuration in the SQLite DB and I can update it using a script, but it is a workaround, could be nice to have a way to inject those API keys from the environment or a way to refresh tem every certain time, or force the process to get the API key from a credentials helper like git.
Also, Beared token authentication is not supported you have to use the custom headers and pass the Authorization: Beared <TOKEN> header.


Field Value
App version 1.1.29
OS macOS 26.7.1
Theme GitHub
Path /workflows
Tenure Week 22
Linguagem predominante
Sem dados de linguagem
Estrelas
2.2k
Forks
183
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/app

Todas as issues de github/app

Issues semelhantes

Mais issues de Security

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.