Skip to main content
Configure the Runpod CLI with your API credentials and API URL to enable programmatic access to your Runpod resources.
runpodctl config [flags]

Example

Configure the CLI with your API key:
runpodctl config \
  --apiKey "rpaPOIUYYULKDSALVIUT3Q2ZRKZ98IUYTSK2OQQ2CWQxkd01"

Flags

--apiKey
string
Your Runpod API key, which authenticates the CLI to access your account. You can generate an API key from the Runpod console.
--apiUrl
string
default:"https://api.runpod.io/graphql"
The Runpod API endpoint URL. The default value should work for most users.