rp auth
Manage Runpod API credentials in a stable per-user store.
This store survives any install method — including an npm global install
whose files live inside node_modules and are wiped on every npm upgrade.
One key per account, exactly one "active" account used for API calls,
switchable with rp auth switch.
Layout under $RP_CONFIG_HOME:
credentials.d/login just
captures and stores the key you copy from console > Settings > API Keys.
rp auth <verb> [flags]
Commands
rp auth use— Alias forrp auth switch <name>— change the active account.rp auth login— Store a Runpod API key as an account (additive — does not replace others).rp auth logout— Remove an account.rp auth switch— Change the active account — the one used for all API calls.rp auth list— Show stored accounts, marking the active one.rp auth status— Show the active account and whether an API key is configured.