Bind Workspace Secret reveal and mutations to exact resource identities

Offen
#5,961 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
8/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
grpc
Bereich
api, security

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
21.5k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NVIDIA/OpenShell

Alle Issues in NVIDIA/OpenShell

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.