Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Support for ephemeral tokens in Model providers

未關閉
#4,848 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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
主要語言
沒有語言資料
星號
2.2k
分支
183
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/app 的其他 Issue

查看 github/app 的全部 Issue

相似的 Issue

更多 Security Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。