Skip to content

Configuration

Set by the installer; listed for completeness.

Setting Meaning
SPRIG_TENANT_ID Entra tenant id
SPRIG_SUBSCRIPTION_ID Target subscription
SPRIG_API_CLIENT_ID The sprig-platform-api app registration (token audience)
SPRIG_STORAGE_ACCOUNT Metadata/audit storage account
SPRIG_LOCATION Region for created resources
SPRIG_PREFIX Resource name prefix (default sprig)
AZURE_CLIENT_ID The platform managed identity

~/.sprig/config.json, written by init.mjs (from sprig-install.json or flags): tenantId, cliClientId, apiScope, endpoint. Token cache: ~/.sprig/msal-cache.json (per-user MSAL cache; delete it to force re-login).

Environment overrides honoured by the plugin tools — intended for CI and testing: SPRIG_PLATFORM_TOKEN, SPRIG_FABRIC_TOKEN (pre-issued bearer tokens that skip interactive sign-in).