Keys / Runpod
RUNPOD_API_KEY
The Runpod API key your app manages Pods and calls Serverless endpoints with.
- Starts with
rpa_- Expires
- the docs don't say
- API
- none; console only
Get it
Create one on console.runpod.io/user/credentials. The steps aren't recorded yet.
Set it
RUNPOD_API_KEY=rpa_...
The Runpod Python SDK reads it from this variable when you don't set runpod.api_key. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- Create a new key with the same permissions: All, Restricted with the same endpoint access, or Read Only.
- Deploy it everywhere that reads
RUNPOD_API_KEY. - Check that requests succeed with the new key, then disable or 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.