ak_ prefix.1akarso auth login
1akarso auth set --key ak_your_key_here
| Priority | Source | Example |
| 1 | --api-key flag | akarso posts list --api-key ak_xxx |
| 2 | AKARSO_API_KEY env var | export AKARSO_API_KEY=ak_xxx |
| 3 | Config file | ~/.akarso/config.json |
--api-key flag is useful for one-off commands or when switching between multiple keys. For regular use, set the env var or save to the config file.~/.akarso/config.json:123{ "apiKey": "ak_your_key_here" }
akarso auth login and akarso auth set commands write this file automatically.1akarso auth check
| Variable | Description |
AKARSO_API_KEY | API key for authentication |
AKARSO_API_URL | Custom API base URL (for development) |