Skip to content

feat: flash login command#160

Merged
KAJdev merged 13 commits intomainfrom
zeke/flash-login
Feb 26, 2026
Merged

feat: flash login command#160
KAJdev merged 13 commits intomainfrom
zeke/flash-login

Conversation

@KAJdev
Copy link
Copy Markdown
Contributor

@KAJdev KAJdev commented Jan 29, 2026

Adds a flash login command. This requires changes to the planetscale database, graphql schema, and main-ui to support.

Completes AE-1936

The flow is:

-> flash creates an auth request 
-> opens runpod console 
-> user logins if they are not logged in 
-> user approves or denies the auth request 
-> if approved, graphql generates an API key for the request 
-> flash polls the auth request until it is approved or denied, then grabs the API key, consuming the auth request (cant be used again) 
-> flash stores the key in a credentials file and uses it instead of requiring a RUNPOD_API_KEY environment variable

@KAJdev KAJdev marked this pull request as ready for review February 24, 2026 23:17
@KAJdev KAJdev requested a review from deanq February 24, 2026 23:18
Comment thread src/runpod_flash/cli/commands/login.py Outdated
Comment thread src/runpod_flash/core/credentials.py
@KAJdev KAJdev merged commit 4480308 into main Feb 26, 2026
6 checks passed
@KAJdev KAJdev deleted the zeke/flash-login branch February 26, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants