studio: Improve API Keys area to better understand where and how used
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 冷清
研究方向
先檢視 Studio API Keys 區域,以及金鑰名稱如何與 auth.json 中的 Command Code 設定相關。此 issue 描述了數種可能的功能,因此在開始實作之前,需要先縮小範圍並明確完成條件。
由索引模型根據 Issue 內容生成。
描述
Feature Description
Recently, I needed to delete an API key. When I went into API Keys area of the Studio, I saw I had 8-10 keys dating back to late 2025.
I found it difficult to know:
- which keys were active (last used)
- if they expire/d (doesn't seem they do)
- the names were not meaningful nor did it match the name in the
auth.jsonCommand Code config settings - I could not edit the name to make them meaningful to me
- recent usage of keys and where used (to identify if any key leaked and used by some strange IP address or geo)
So, I ended up just deleting all keys one by one and starting over from scratch, but then I realized:
- the name in auth.json did not match
- and the only way I could identify a key was by some UTC timestamp so I could tell one cli on one machine was an older key than another because I knew I created one before the other
Use Case
In general, be useful to:
- know which key used where
- add a description for the key purpose
- names match installed name in auth.json
- edit names to be descriptive
- show some recent use (time, IP address, geo) to identify if any leaks
- pause key
- rotate key (vs delete and create and edit name a description)
Could take some cues from Unkey API Key management features. See: https://www.unkey.com/docs/platform/apis/keys
Additional Context
No response
How important is this to you?
Medium. But, this will increase if I use Command Code API more for inference in apps vs just the cli used on two devices or if I want to distinguish between a key for cli and a key for desktop.
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CommandCodeAI/command-code 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#855 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
CommandCodeAI/command-code#841 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#655 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#608 ·
-
難度 3/5 1-2 天 新手友好度 70/100
CommandCodeAI/command-code#893 ·
查看 CommandCodeAI/command-code 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
avniproject/avni-client#2135 ·
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 2/5 1-3 小時 新手友好度 82/100
api7/lua-resty-saml#63 ·
-
area/auth bug comp/agent P3 platform/discord type/security
難度 2/5 1-3 小時 新手友好度 88/100
NousResearch/hermes-agent#117848 ·
-
難度 2/5 1-3 小時 新手友好度 68/100