Accusys a535aa1b8d feat(cli): implement api-key create and list
**實作內容**:
- Create: 完整實作,生成 API key 並寫入 DB
- List: 完整實作,列表顯示所有 API keys
- Validate/Revoke/Rotate/Stats: 預留介面,回傳 exit code 1

**關鍵調整**:
- 權限寫死為 ["read","write"](預設值)
- key_type 使用 serde 序列化(JSON 字串格式)
- DB 寫入失敗回傳 Err(不再靜默成功)
- 錯誤處理完整,失敗時 exit code ≠ 0

**參考**:
- playground.rs:2862-2956
- postgres_db.rs:2928, 2992
- api_key/service.rs:66

**驗收標準**:
- api_keys 表新增記錄
- key_prefix 正確 (muser_ / msvc_ 等)
- exit code 為 0
2026-10-05 02:19:44 +08:00
2026-10-05 00:05:41 +08:00
2026-09-28 19:27:43 +08:00
2026-03-25 14:51:25 +08:00

momentry_core

Digital asset management system with video analysis and RAG - Production version with API Key authentication

S
Description
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Readme 1.6 GiB
2026-03-25 15:49:30 +08:00
Languages
PLpgSQL 30.5%
Python 27.4%
HTML 20.4%
Rust 13.3%
Shell 3.1%
Other 5.2%