Skip to main content
With Plerion CLI configuration, you can manage credentials, profiles, regions, and output preferences. The CLI resolves settings from multiple sources in order of precedence (highest first):
  1. CLI flags (--api-key, --region, --endpoint-url)
  2. Environment variables (PLERION_API_KEY, PLERION_REGION, etc.)
  3. Named profile from config files (selected via --profile or PLERION_PROFILE)
  4. [default] profile from config files

Getting an API key

1

Sign in to Plerion

Go to the Plerion dashboard and sign in with your credentials.
2

Navigate to API Keys

Go to Settings > API Keys.
3

Create a key

Click Create API Key, give it a name, and copy the key. You will not be able to see it again.

Interactive setup

This prompts for your API key, region, output format, and profile name, then writes both config files.
Lists all configured profile names.

Credentials file

Location: ~/.plerion/credentials

Config file

Location: ~/.plerion/config
Both files use bare section names (e.g. [prod], not [profile prod]).

Environment variables


Regions


Multiple profiles