studio: Improve API Keys area to better understand where and how used
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- authentication
Hướng nghiên cứu
Bắt đầu bằng việc xem xét khu vực Studio API Keys và cách tên khóa liên hệ với cấu hình Command Code trong auth.json. Issue mô tả một số khả năng có thể có, vì vậy cần thu hẹp phạm vi và tiêu chí hoàn thành trước khi có thể bắt đầu triển khai.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4k
- Fork
- 350
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 CommandCodeAI/command-code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CommandCodeAI/command-code#855 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CommandCodeAI/command-code#841 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CommandCodeAI/command-code#655 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CommandCodeAI/command-code#608 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
CommandCodeAI/command-code#893 ·
Tất cả issue của CommandCodeAI/command-code
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TheManticoreProject/Manticore#1383 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
ethereum-optimism/factory#64 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
phoenixframework/phoenix#6847 ·
-
intake mcp-intake needs-ac needs-human-review priority:medium type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Ikalus1988/MisakaNet#2019 · 2 bình luận ·
-
Upgrade of litesaml/lightsaml? Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
SocialiteProviders/Providers#1493 ·