WZZNNE/DSH-CyberWorkStation--plugins-dsh-credentials-keyring ↗★ 23
dsh-credentials-keyring
将DSH凭据存入Windows凭据管理器的后端插件 适合希望改用Windows凭据管理器保存DSH密钥的用户;首次写入时迁移,密钥环失败时回退只读。
同名套件的其他儲存庫
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗dsh-credentials-keyring
中文 | English below
Install / 安装
dsh plugin --profile web add dsh-credentials-keyring
This plugin is a patch layer, not a bundle: after the command above add the entry below to ~/.dsh/profiles/web/cordis.patch.yml (keep the file a YAML array) and restart dsh. setup.cmd of DSH CyberWorkStation does both steps for you.
这个插件不是 bundle 而是 patch 层:执行上面的命令后,把下面这段加进 ~/.dsh/profiles/web/cordis.patch.yml(保持文件是 YAML 数组),重启 dsh。DSH CyberWorkStation 的 setup.cmd 会自动完成这两步。
- id: credentials
disabled: true
- insert:
- id: credentials-keyring
name: 'dsh-credentials-keyring'
把 dsh 的凭据存进 Windows 凭据管理器,替换本体默认的明文 .credentials.yaml 提供者(同一个 credentials 服务,其它插件无感)。
- 记录名
dsh:(如dsh:OPENROUTER_API_KEY);环境变量仍然优先;写入即迁移(第一次在任何面板「保存密钥」时,该引用从旧文件搬进钥匙串);钥匙串故障一律记警告、回退只读。 - 凭据中心页(启动器 / dsh 设置)里「来源:windows-credential-manager」就是它。
Stores dsh credentials in the Windows Credential Manager (dsh: records) instead of the stock plaintext file; environment variables still win, secrets migrate on the first write, and a keyring failure degrades to read-only with a warning. It replaces the stock credentials provider, so it is a layer of the profile's own cordis.patch.yml (written idempotently by launcher/dsh-patch-layers.mjs from setup.cmd), not a bundle; the launcher self-check reads that file to find it.