docs: document api-keys usage in README and README_CN

- Added explanation and examples for `api-keys` configuration.
- Updated both English and Chinese documentation.
This commit is contained in:
Luis Pater
2025-10-09 23:36:11 +08:00
parent b2cdbbdd47
commit 1aa568ce45
2 changed files with 10 additions and 0 deletions

View File

@@ -357,6 +357,11 @@ remote-management:
# Authentication directory (supports ~ for home directory). If you use Windows, please set the directory like this: `C:/cli-proxy-api/`
auth-dir: "~/.cli-proxy-api"
# API keys for authentication
api-keys:
- "your-api-key-1"
- "your-api-key-2"
# Enable debug logging
debug: false