Skip to content

docs(sdk): Document pasting the API key after rp login browser approval - #985

Merged
lavanya-gunreddi merged 4 commits into
mainfrom
promptless/rp-login-paste-api-key
Nov 20, 2026
Merged

lavanya-gunreddi merged 4 commits into
mainfrom
promptless/rp-login-paste-api-key

Conversation

@promptless

@promptless promptless Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Open in Promptless

rp login no longer receives the API key automatically after browser approval. After you approve the login request in the console, the console shows a new API key, and rp login asks you to paste it at a hidden prompt. The CLI verifies the key before saving it, allows up to three attempts, and exits if the terminal isn't interactive (runpod/runpod-python#675, shipped in runpod 2.1.0).

This updates the SDK docs to match:

  • sdk/cli.mdx: describes the approve-then-paste flow, the retry limit, and the interactive-terminal requirement, with RUNPOD_API_KEY or rp login --api-key as the alternative for CI and scripts. Because main added agent login (rp login --agent, docs(sdk): Document rp login --agent email code sign-in #983) after this suggestion was written, the branch merges main, scopes the paste flow to logins without --api-key or --agent, and points AI coding agents to the "Log in with an emailed code" section.
  • sdk/overview.mdx and sdk/quickstart.mdx: add the paste step to the login instructions.

Merge timing: #675 is in runpod 2.1.0 and later on PyPI, so this can merge now.

Overlap: promptless/rp-runpod-profile-env (RUNPOD_PROFILE) edits the same --profile paragraph in sdk/cli.mdx. Whichever merges second needs a one-line conflict resolution: keep this branch's paste paragraphs and that branch's removal of "The default profile is default."

Trigger Events


Tip: Assign suggestions to team members in the Promptless dashboard to claim work 👥

Comment thread sdk/cli.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:06 PM

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

Comment thread sdk/quickstart.mdx Resolved
Comment thread sdk/cli.mdx Resolved
Comment thread sdk/overview.mdx Resolved
Comment thread sdk/cli.mdx Resolved
Comment thread sdk/cli.mdx Resolved
@lavanya-gunreddi
lavanya-gunreddi merged commit e4b64f1 into main Nov 20, 2026
2 checks passed
@lavanya-gunreddi
lavanya-gunreddi deleted the promptless/rp-login-paste-api-key branch November 20, 2026 21:07

This branch was successfully deployed

1 active deployment
staging — 31e7cb11 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.

1 participant