tancheng33/dsh-credentials-vault0

dsh-credentials-vault

HashiCorp Vault backend for the DeepSeek Harness credential seam: central secrets, AppRole machine auth, rotation without restart, and no long-lived provider key on the agent host

AI Analysis

核心用途是避免在本地明文存储敏感 API 密钥,实现凭据的集中安全管理与无重启热轮转。适合企业级用户或已有 Vault 基础设施的安全敏感型团队。

Package
dsh-credentials-vault
Version
0.1.0
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tancheng33/dsh-credentials-vault

Configuration

KeyDefaultMeaning
addresshttp://127.0.0.1:8200Vault base address.
namespace''Vault Enterprise namespace. Empty sends no header.
mountsecretKV secrets-engine mount point.
pathdshPath under the mount holding the credential map.
kvVersion2KV engine version. v2 gives compare-and-swap and versioning.
tokenRefVAULT_TOKENEnv var holding a Vault token. Used when AppRole is not configured.
approleMountapproleAppRole auth mount path.
roleIdRefVAULT_ROLE_IDEnv var holding an AppRole role id.
secretIdRefVAULT_SECRET_IDEnv var holding an AppRole secret id.
readOnlyfalseRefuse set/unset entirely.
environmentWinstrueLet an inherited env var shadow Vault, as the local provider does.
cacheTtlMs0Cache the secret map for this many ms. 0 reads per operation.
timeoutMs10000Vault request timeout.

Nothing secret goes in this file. tokenRef, roleIdRef, and secretIdRef name environment variables carrying the bootstrap credential. The point of the plugin is that long-lived provider keys are not in configuration, and that has to hold for its own bootstrap too.