Skip to content

Document that runpodctl uses the API key saved by rp login - #987

Open
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/runpodctl-reads-rp-login-key
Open

promptless[bot] wants to merge 1 commit into
mainfrom
promptless/runpodctl-reads-rp-login-key

Conversation

@promptless

@promptless promptless Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Open in Promptless

runpodctl and the Runpod SDK share ~/.runpod/config.toml, but runpodctl only read its own top-level apiKey. After runpod/runpodctl#386, runpodctl falls back to the [default] api_key that rp login and flash login save, so one login works for both tools.

This updates Step 2 of the runpodctl overview to:

  • Tell readers who already ran rp login or flash login that they can skip configuring runpodctl, and that named profiles (rp login --profile) aren't read.
  • List the order runpodctl checks for an API key: RUNPOD_API_KEY, then the key saved with runpodctl config or runpodctl doctor, then the key saved by rp login or flash login.

Merge after the next runpodctl release that includes #386 (the latest release when this was written is v3.0.1, which predates it). Check the runpodctl releases for a version published after October 26, 2026.

Verified against internal/configenv/configenv.go at the PR's merge head. Vale shows no new errors on the changed page.

Trigger Events


Tip: Tag @Promptless in a GitHub issue to turn it into a documentation update 🐙

Comment thread runpodctl/overview.mdx Resolved
Comment thread runpodctl/overview.mdx Resolved
@mintlify

mintlify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
runpod-docs 🟢 Ready View Preview Nov 20, 2026, 9:08 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

This branch was successfully deployed

1 active deployment
staging — 4e330b97 Deployed Nov 20, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants