Skip to content

feat(vm): support provider workload identity - #6064

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

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

Conversation

@shiju-nv

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

Copy link
Copy Markdown
Collaborator

Summary

Let the MicroVM driver give its host supervisors a Workload API socket. This is layer 7 of 8 in the stack that starts at #6050.

Every host supervisor from one install has the same user and executable, so stock SPIRE Unix selectors cannot tell two of them apart. Per-sandbox identity on MicroVM needs an external attestor that binds each supervisor process to its launch. The driver does not provide one.

Related Issue

Part of #6049

Changes

  • A new provider_spiffe_workload_api_socket setting names a Unix socket on the driver host. The host supervisor receives its path.
  • The driver advertises openshell.compute.provider-workload-identity when the mode is selected or the driver runs standalone, the socket is configured, the supervisor can reach the gateway over HTTPS or numeric loopback, and the supervisor binary can see the socket.
  • A start whose launch differs from the running supervisor's restarts the VM launcher and the host supervisor and keeps the overlay.
  • The guest TCP settings for the Workload API remain unused. A configured endpoint now logs a warning.

Release Notes

The MicroVM driver has a new provider_spiffe_workload_api_socket setting. The guest TCP settings for the Workload API have no effect, and a configured endpoint logs a warning.

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-podman-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-vm-provider-identity/shiju-nv branch 2 times, most recently from 30bcd38 to 2ce134e Compare November 28, 2026 23:36
Let the MicroVM driver give its host supervisors a Workload API socket.

- A new provider_spiffe_workload_api_socket setting names a Unix socket
  on the driver host. The host supervisor receives its path. The guest
  TCP settings for the Workload API remain unused, and a configured
  endpoint now logs a warning.
- The driver advertises provider workload identity when the mode is
  selected or the driver runs standalone, the socket is configured, the
  supervisor can reach the gateway over HTTPS or numeric loopback, and
  the supervisor binary can see the socket.
- A start whose launch differs from the running supervisor's restarts
  the VM launcher and the host supervisor and keeps the overlay.

Every host supervisor from one install has the same user and executable,
so binding a supervisor process to its launch needs an external attestor.

Signed-off-by: Shiju <shiju@nvidia.com>
@shiju-nv
shiju-nv force-pushed the feat/6049-vm-provider-identity/shiju-nv branch from 2ce134e to 92f4f84 Compare November 29, 2026 04:35
@shiju-nv shiju-nv changed the title feat(vm): support verified provider workload identity feat(vm): support 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.

1 participant