WZZNNE/DSH-CyberWorkStation--plugins-dsh-credentials-keyring ↗★ 23

dsh-credentials-keyring

Windows Credential Manager backend for DeepSeek Harness credentials: the stock local provider with its reference half stored in the system keyring instead of a plaintext file. Secrets migrate on write; every keyring failure falls back to the inherited behavior. 适合希望改用Windows凭据管理器保存DSH密钥的用户;首次写入时迁移,密钥环失败时回退只读。

パッケージ
dsh-credentials-keyring
互換性
未検証
Harness ピア範囲
*
バージョン
0.1.0
ライセンス
NOASSERTION
最終更新
2026/09/16

同名パッケージの別リポジトリ

インストール

検証済み 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.