Keys / Weights & Biases
WANDB_API_KEY
The Weights & Biases API key your training code logs runs, artifacts and metrics with.
- Starts with
wandb_v1_- Expires
- the docs don't say
- API
- none documented; settings page only
Get it
Create one on forge.coreweave.com/authorize. The steps aren't recorded yet.
Set it
WANDB_API_KEY=wandb_v1_...
The wandb Python SDK and CLI read it from this variable, so wandb.init() signs in without wandb login. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- Create a new key with the same owner and scope as the old one: a personal key under API keys in your user settings, an organization key on the organization's API Keys tab, or, for a service account, Create API key from its menu on the Service Accounts tab. Where organization-scoped keys are enforced, a personal key won't work.
- Deploy it everywhere that reads
WANDB_API_KEY. Both keys work in the meantime. - Check that your runs authenticate with the new key, then delete the old one.
Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.