Bind Workspace Secret reveal and mutations to exact resource identities

Abierto
#5,961 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
grpc
Área
api, security

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
21.5k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/OpenShell

Todos los issues de NVIDIA/OpenShell

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.