runpod / runpodctl

🧰 | RunPod CLI for pod management
https://www.runpod.io/
GNU General Public License v3.0
262 stars 37 forks source link

E-1654: fix: only add key when not exist in db. #159

Closed Yhlong00 closed 2 months ago

Yhlong00 commented 2 months ago

E-1654: Only Add Key If It Doesn’t Already Exist in the Database

Description

Currently, running runpodctl config --apiKey xxx creates a new key and appends it to the pubKey field each time.

Change: Modify the behavior so that a key is only created if it doesn’t already exist in the database.

How do I test it?

Build package locally and run command config --apiKey xxx