- CLI flags (
--api-key,--region,--endpoint-url) - Environment variables (
PLERION_API_KEY,PLERION_REGION, etc.) - Named profile from config files (selected via
--profileorPLERION_PROFILE) [default]profile from config files
Getting an API key
Sign in to Plerion
Go to the Plerion dashboard and sign in with your credentials.
Interactive setup
Credentials file
Location:~/.plerion/credentials
Config file
Location:~/.plerion/config
[prod], not [profile prod]).
Environment variables
| Variable | Description |
|---|---|
PLERION_API_KEY | API key (overrides credentials file) |
PLERION_REGION | Region (overrides config file) |
PLERION_PROFILE | Profile name (default: default) |
PLERION_ENDPOINT_URL | Custom API base URL (for development) |
NO_COLOR | Set to any value to disable color output |
Regions
| Region | Code | Base URL |
|---|---|---|
| Australia | au | https://au.api.plerion.com |
| Singapore | sg1 | https://sg1.api.plerion.com |
| India | in1 | https://in1.api.plerion.com |
| United States | us1 | https://us1.api.plerion.com |