You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support native GitHub App installation token minting for credential providers #5664
An OpenShell-backed installation needs to keep the GitHub App private key with OpenShell while still delivering usable, short-lived GitHub installation tokens to sandboxed agents. Today OCE signs a GitHub App JWT and exchanges it for an installation token; keeping that minting service in OCE would break end-to-end OpenShell credential lifecycle ownership or require OCE to retrieve the App private key.
Please add a native GitHub App installation provider/refresh strategy that:
Stores the App private key as non-injectable OpenShell-owned material.
Signs the App JWT and calls GitHub's POST /app/installations/{installation_id}/access_tokens endpoint.
Delivers only the resulting usable installation token to authorized attached sandboxes, and renews/caches it according to expiry.
Keeps the private key and App JWT out of sandbox injection and runtime credential export.
OCC can continue enforcing additional per-request repository or branch policies through OpenShell middleware; that authorization is separate from token minting. Dynamic token downscoping is outside this issue's OCE requirement.
Previous tracking issue #3941 was automatically closed as stale, although implementation PR #3676 remains open. GitHub API reference.
Activity
johntmyers commentedon Nov 18, 2026
@mrunalp should this be delivered as a cred issuer? The linked PR may be obsolete if so