Repository navigation
Description
English
Problem
Desktop can onboard and maintain an SSH-managed Runtime Host, but access credentials still require lower-level CLI operations. Users cannot inspect which Client identities retain access, rotate the credential used by the current Desktop Profile, or revoke an obsolete credential from the per-computer management surface.
Credential secrets must remain one-time values. Desktop should present authoritative metadata and safe maintenance actions without exposing stored secrets or turning an ordinary Runtime Host Client credential into operator authority.
Scope
- Expose bounded, non-secret credential metadata through a Host-local operator command.
- Identify the credential used by the current Desktop Profile.
- Rotate that credential through replacement verification before retiring the old value.
- Revoke an obsolete credential through the SSH management plane with explicit confirmation.
- Keep newly delivered secrets inside the existing local credential and pairing-recovery path.
- Keep ordinary remote Client grants and remotely available operations unchanged; privileged access-management inputs remain available only to the Host-local operator.
Implementation
- Draft pull request: feat(desktop): manage remote runtime host credentials #3419
Non-goals
- Revealing or exporting credential secrets.
- A general RBAC or arbitrary operation-grant editor.
- Package updates, service replacement, or automatic update policy.
Completion criteria
- Metadata contains no secret material and is bounded before crossing SSH.
- Rotation cannot retire the old credential until the replacement has been verified.
- The current Desktop credential cannot be revoked through the revoke action.
- Direct connection Profiles remain usable without claiming SSH credential management support.
- CLI, Desktop, and a managed Linux Runtime Host exercise the same contract.
简体中文
问题
Desktop 已能完成 SSH-managed Runtime Host 的 onboarding 与服务维护,但 access credential 仍需通过底层 CLI 操作。用户无法在 per-computer 管理界面中查看仍保留访问权的 Client identity、轮换当前 Desktop Profile 使用的 credential,或撤销废弃 credential。
Credential secret 必须继续保持一次性交付。Desktop 只应展示权威 metadata 和安全维护操作,不能暴露已保存的 secret,也不能把普通 Runtime Host Client credential 变成 operator authority。
范围
- 通过 Host-local operator command 提供有界且不含 secret 的 credential metadata。
- 识别当前 Desktop Profile 实际使用的 credential。
- 在 replacement 验证通过后再退役旧 credential。
- 通过 SSH management plane 明确确认并撤销废弃 credential。
- 新交付的 secret 只进入现有本地 credential 与 pairing recovery 路径。
- 普通 remote Client grants 与远程可用 operations 保持不变;扩展后的 privileged access-management inputs 仅供 Host-local operator 使用。
实现
- Draft pull request:feat(desktop): manage remote runtime host credentials #3419
非目标
- 展示或导出 credential secret。
- 通用 RBAC 或任意 operation-grant 编辑器。
- Package 更新、service replacement 或自动更新策略。
完成标准
- Metadata 不含 secret,并在跨越 SSH 前受到大小限制。
- Replacement 未验证前不能退役旧 credential。
- 当前 Desktop credential 不能通过 revoke action 撤销。
- Direct connection Profile 继续可用,但不声称支持 SSH credential 管理。
- CLI、Desktop 与 managed Linux Runtime Host 使用并验证同一套契约。
AI disclosure: OpenAI Codex assisted with implementation and drafting under maintainer direction. The maintainer decides whether to submit and accepts responsibility for the contribution.
Activity