Keys / NVIDIA
NVIDIA_API_KEY
The NVIDIA API key your app calls NVIDIA-hosted NIM models from build.nvidia.com with.
- Expires
- you choose, or never
- API
- the docs don't describe one
Get it
Create one on build.nvidia.com/settings/api-keys. The steps aren't recorded yet.
Set it
NVIDIA_API_KEY=...
LangChain's langchain-nvidia-ai-endpoints reads it from this variable when you don't pass a key. With the OpenAI SDK, your app passes it in. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- On the NGC website's API Keys page, which lists your build.nvidia.com keys too, open the key's menu and choose Rotate Personal Key. Copy the new key; NGC doesn't save it.
- Deploy it everywhere that reads
NVIDIA_API_KEY. The old key keeps working until you delete it. - Check that requests succeed with the new key, then delete the old one. It has the same name and the earlier created date.
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.