Repository navigation
docs(sdk): Document pasting the API key after rp login browser approval - #985
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
lavanya-gunreddi
approved these changes
Nov 20, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open in Promptless
rp loginno 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, andrp loginasks 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 inrunpod2.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, withRUNPOD_API_KEYorrp login --api-keyas 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-keyor--agent, and points AI coding agents to the "Log in with an emailed code" section.sdk/overview.mdxandsdk/quickstart.mdx: add the paste step to the login instructions.Merge timing: #675 is in
runpod2.1.0 and later on PyPI, so this can merge now.Overlap: promptless/rp-runpod-profile-env (RUNPOD_PROFILE) edits the same
--profileparagraph insdk/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 isdefault."Trigger Events
Tip: Assign suggestions to team members in the Promptless dashboard to claim work 👥