Keys / SambaNova
SAMBANOVA_API_KEY
The SambaNova API key your app calls models on SambaCloud with. Each user can have up to 25 keys.
- Expires
- the docs don't say
- API
- none; SambaCloud portal only
Get it
Create one on cloud.sambanova.ai/apis. The steps aren't recorded yet.
Set it
SAMBANOVA_API_KEY=...
The sambanova Python SDK reads it from this variable when you don't pass a key. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- In the API section of the SambaCloud portal, generate a new key and copy it. It can't be viewed again.
- Deploy it everywhere that reads
SAMBANOVA_API_KEY. - Check that requests succeed with the new key, then revoke the old one. A revoked key can't make API calls.
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.