Skip to content

feat(gateway): configure provider workload identity - #6065

Open
shiju-nv wants to merge 1 commit into
feat/6049-vm-provider-identity/shiju-nvfrom
feat/6049-gateway-workload-identity-config/shiju-nv
Open

shiju-nv wants to merge 1 commit into
feat/6049-vm-provider-identity/shiju-nvfrom
feat/6049-gateway-workload-identity-config/shiju-nv

Conversation

@shiju-nv

@shiju-nv shiju-nv commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add the gateway setting that turns on per-sandbox SPIFFE identity for provider token grants on dedicated supervisors, and document the mode. This is layer 8 of 8 in the stack that starts at #6050, and the only layer that lets an operator enable the mode.

Related Issue

Closes #6049

Changes

  • [openshell.gateway.spiffe_workload_identity] sets the SPIFFE ID prefix and the gateway's Workload API socket. It needs a positive gateway_jwt.ttl_secs and excludes spiffe_broker.
  • Preflight and startup require an explicit compute driver, reject the Kubernetes driver, and check the selected Docker, Podman, or VM table for a Workload API Unix socket and a supervisor endpoint that uses HTTPS or numeric loopback. A socket value that is set but invalid is reported with the rule it broke. Diagnostics carry no configuration values.
  • The gateway tells managed Docker, Podman, and VM drivers that the mode is selected through one Configure field.
  • The docs cover issuer registration for both identities, the evidence each runtime gives an attestor, turning the mode on and off, what an extension driver must implement, and a two-sandbox verification procedure.

Release Notes

Operators can give each sandbox its own SPIFFE identity for provider token grants on Docker, Podman, and MicroVM by setting [openshell.gateway.spiffe_workload_identity]. The gateway verifies the supervisor's assertions and performs the token exchange, and the agent never holds a credential. The operator runs the SPIFFE issuer and registers both identities for each launch. MicroVM needs an external attestor to give two sandboxes distinct identities.

Testing

  • Checks appropriate to the affected code and behavior pass
  • Unit tests added/updated (if applicable)
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 28, 2026
@github-actions

Copy link
Copy Markdown

@shiju-nv
shiju-nv changed the base branch from main to feat/6049-vm-provider-identity/shiju-nv November 28, 2026 20:53
@shiju-nv
shiju-nv added this pull request to stack #6060 November 28, 2026 20:53
@shiju-nv
shiju-nv force-pushed the feat/6049-gateway-workload-identity-config/shiju-nv branch from 55d2f5b to 7d6f1ea Compare November 28, 2026 21:43
@shiju-nv
shiju-nv force-pushed the feat/6049-gateway-workload-identity-config/shiju-nv branch from 7d6f1ea to edd9197 Compare November 28, 2026 23:36
Add the gateway setting that turns on per-sandbox SPIFFE provider grants
for dedicated supervisors, and document the mode.

- [openshell.gateway.spiffe_workload_identity] sets the SPIFFE ID prefix
  and the gateway's Workload API socket. It needs a positive
  gateway_jwt.ttl_secs and excludes spiffe_broker.
- Preflight and startup require an explicit compute driver, reject the
  Kubernetes driver, and check the selected Docker, Podman, or VM table
  for a Workload API Unix socket and a supervisor endpoint that uses
  HTTPS or numeric loopback. A socket value that is set but invalid is
  reported with the rule it broke. Diagnostics carry no configuration
  values.
- The gateway tells managed Docker, Podman, and VM drivers that the mode
  is selected through one Configure field.
- The docs cover issuer registration for both identities, the evidence
  each runtime gives an attestor, turning the mode on and off, what an
  extension driver must implement, and a two-sandbox verification
  procedure.

Signed-off-by: Shiju <shiju@nvidia.com>
@shiju-nv
shiju-nv force-pushed the feat/6049-gateway-workload-identity-config/shiju-nv branch from edd9197 to 38db4c9 Compare November 29, 2026 04:35
@shiju-nv shiju-nv changed the title feat(gateway): configure verified provider workload identity feat(gateway): configure provider workload identity Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Per-sandbox SPIFFE identity for provider token grants

1 participant