Bind Workspace Secret reveal and mutations to exact resource identities

未关闭
#5,961 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
8/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
grpc
领域
api, security

调研方向

Start with the Workspace Secret RPCs in proto/openshell.proto: CreateSecret, UpdateSecret, DeleteSecret and RevealSecret. The change needs immutable Workspace and Secret IDs in these requests and a refusal when the object at a name has been replaced. Done means the design is agreed with maintainers and related issues #5563 and #5931 are reconciled first.

由索引模型根据 Issue 内容生成。

描述

state:triage-needed

A controller may register one non-injectable Workspace Secret for a confidential OAuth client and share it across account Providers. It must later reveal, rotate, and delete that exact Secret.

At OpenShell main 1fca4c8b2ee31d2871a1a35e1b6e13bcd2ede352, CreateSecret addresses its Workspace by name. UpdateSecret addresses the Secret by name with an optional resource version. DeleteSecret and RevealSecret have no immutable Secret identity precondition.

If Secret A is deleted and Secret B is created under the same Workspace/name, a stale reveal or deletion for A operates on B. A resource version cannot distinguish a recreated object, and reading metadata first does not condition the following operation.

Please allow Create against the expected immutable Workspace ID, Update against the registered immutable Secret ID and expected version, and Reveal/Delete against that Secret ID with refusal on replacement. Preserve separate non-injectable custody and exact Secret bindings for Provider refresh.

Related: #5563 and the analogous Provider identity request #5931.

主要语言
Rust
星标
21.5k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/OpenShell 的其他 Issue

查看 NVIDIA/OpenShell 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。