Skip to content

Bind Workspace Secret reveal and mutations to exact resource identities #5961

Backlog

Description

@stevenlee-oai

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.

Activity

  1. added
    state:triage-needed
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:triage-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions