Skip to content

"runpodctl config --apiKey..." only works when $RUNPOD_API_KEY is defined (MacOS) #231

@wrichert

Description

@wrichert
$ runpodctl --version
runpodctl 1.14.15-dac76ad

$ runpodctl config --apiKey rpa_...
Configuration saved to file: /Users/wr/.runpod/config.toml
No existing local SSH key found, generating a new one.
SSH key pair generated: /Users/wr/.runpod/ssh/RunPod-Key-Go (private), /Users/wr/.runpod/ssh/RunPod-Key-Go.pub (public)
New SSH key pair generated.
Error: failed to update SSH key in the cloud: failed to get SSH keys from the cloud: unexpected status code: 401
Usage:
  runpodctl config [flags]

Flags:
      --apiKey string   RunPod API key
      --apiUrl string   RunPod API URL (default "https://api.runpod.io/graphql")
  -h, --help            help for config

Error: failed to update SSH key in the cloud: failed to get SSH keys from the cloud: unexpected status code: 401

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions