Onboarding builders
./sprig azure onboard <builder-upn>For the named person, this:
- creates their sandbox resource group (
rg-sprig-user-<alias>); - grants the platform identity Contributor on that group only — the platform’s Azure rights grow one sandbox at a time, never subscription-wide;
- assigns an Allowed resource types policy pinning the group to Static Web Apps;
- registers the builder in the platform metadata store.
The builder needs nothing installed beyond Claude with the sprig plugin. Their one-time setup:
npm install --prefix <plugin-path>node <plugin-path>/lib/init.mjs --file sprig-install.jsonFirst publish triggers a device-code sign-in with their normal Entra account; tokens cache locally per user. No Azure CLI, no secrets, no RBAC.
Offboarding
Section titled “Offboarding”Delete the builder’s resource group (removes their apps), remove their metadata row, and let the platform-owned app registrations be cleaned up with it. A scripted remove-user is on the roadmap; until then the runbook covers the manual sequence.