InvalidConfig instead of half-working at runtime.
Config schema
Config schema version 1. The profile is a TOML file (or an equivalent programmatic object) with these sections and defaults:Loading configuration
MismatchedVersion error
instead of mis-reading fields.
Validation modes
MusterBoxSDK enforces different validation strictness depending on the lifecycle stage:
Config secrets and credentials are never logged: diagnostics redact
base_url, tokens, and key material.
Overriding the backend URL
For local development against a custom backend:http:// nor https:// is rejected by
validation.
Precedence
-
Explicit
base_url_override(when provided). -
The environment’s default base URL:
-
The auth API base is always derived as
control plane base + /api/v1.

