--api-key flag — highest priority, overrides everything
XPOZ_API_KEY environment variable — useful for CI/CD and scripting
Stored config file — set by xpoz-cli auth login
# Use a specific key for one commandxpoz-cli twitter get_user --identifier elonmusk --api-key sk-your-key# Or set the environment variableexport XPOZ_API_KEY=sk-your-keyxpoz-cli twitter get_user --identifier elonmusk
For CI/CD pipelines and automation, use the XPOZ_API_KEY environment variable. For local development, auth login is more convenient.
The file is created with 0600 permissions (owner read/write only) to protect your access key.
%APPDATA%\xpoz\config.json
The config file contains your access key in plain text. Do not commit it to version control. The CLI sets restrictive file permissions (0600) on Linux and macOS to prevent other users on the system from reading it.