mirror of
https://gitcode.com/JianFeeeee/ModelRouter.git
synced 2026-09-20 08:57:57 +00:00
docs: remind to rotate the admin key after first start (seed key lives in plaintext config.yaml)
This commit is contained in:
@ -6,6 +6,8 @@ listen: 127.0.0.1:8080
|
||||
# 网关自身鉴权密钥。现在为「多密钥」架构:此项仅作为初始 admin 密钥种子,
|
||||
# 首次启动写入运行时存储(runtime_file 的 keys 字段,加密存储)。之后请在
|
||||
# WebUI「密钥」页创建、删除密钥并配置其模型范围。留空 = 首启无 admin 密钥。
|
||||
# 注意:首次启动后应立即在 WebUI 更换管理员密钥,并删除本初始种子——它明文
|
||||
# 写在配置文件里,存在被窃取风险。
|
||||
gateway_keys:
|
||||
- sk-gw-local-0001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user