Skip to content

feat: flash login command#160

Draft
KAJdev wants to merge 7 commits intomainfrom
zeke/flash-login
Draft

feat: flash login command#160
KAJdev wants to merge 7 commits intomainfrom
zeke/flash-login

Conversation

@KAJdev
Copy link
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

# Conflicts:
#	src/runpod_flash/cli/commands/login.py
#	src/runpod_flash/cli/main.py
#	src/runpod_flash/core/api/runpod.py
#	src/runpod_flash/core/credentials.py
#	src/runpod_flash/core/validation.py
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.

1 participant