dusbin/dsh-multi-tenant0

dsh-multi-tenant

DeepSeek Harness 多租户插件:认证反代网关(邮箱密码/LDAP/SSO)、角色权限(平台管理员/租户管理员/审计员/使用者)、token 配额与用量统计、审计日志

AI 分析

核心用途是为 DSH 提供多用户管理、身份认证、角色权限控制及 Token 配额审计。适合需要将 DSH 部署为团队多租户共享服务的系统管理员。

包名
dsh-multi-tenant
版本
0.1.0
最近更新
2026年8月29日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dusbin/dsh-multi-tenant

配置项

默认说明
gateway.enabledtrue是否启动认证网关
gateway.host / gateway.port0.0.0.0 / 3090网关监听地址(对外入口)
cookie.namemt_session会话 Cookie 名
cookie.maxAgeDays14会话有效期
cookie.securefalse公网 HTTPS 部署置 true(Cookie 加 Secure)
db.path$DSH_HOME/multi-tenant/mt.dbSQLite 数据文件(node:sqlite)
auth.local.enabledtrue邮箱密码登录
auth.local.maxFailedAttempts5防爆破:窗口内失败上限
auth.local.lockWindowMs900000防爆破窗口(15 分钟)
auth.bootstrap.enabledtrue首启 bootstrap 平台管理员