AuthStrategy.WANDB. The Dedicated Cloud guide passes credentials explicitly through AuthHeaders; for that example, check the variables and headers configured in the guide because the wandb credential-discovery settings below don’t apply.
- CoreWeave (default): reads
CWSANDBOX_API_KEY, a CoreWeave API access token, and sends it as a bearer token. Requests go out unauthenticated when the variable isn’t set. - Forge API key: selected explicitly by passing
auth=AuthStrategy.WANDB. Credential discovery is delegated to thewandblibrary, which accepts an activewandb loginsession,WANDB_API_KEY, or theapi.wandb.aientry in~/.netrc.
Common issues
With
AuthStrategy.WANDB in cwsandbox 1.18.0 and later, the entity of an active wandb.run takes precedence over WANDB_ENTITY and settings files. If a run is active, configure it to use the intended team. When neither the run nor the settings select an entity, the API uses your default entity. If no project is configured, the API uses sandbox.
Authentication & Access