CLIProxyAPI requires a secret key (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/kitephp/CLIProxyAPI-Tray/llms.txt
Use this file to discover all available pages before exploring further.
secret-key in config.yaml) to access its management API and WebUI. CLIProxyAPI Tray handles the initial password setup and provides a way to reset it without editing config.yaml manually.
Initial password setup
On the first Start (or any time the tray detects thatsecret-key is empty), the tray checks whether a password is already configured:
Read config.yaml
The tray reads
config.yaml and looks for a non-empty value under remote-management.secret-key.Prompt if empty
If
secret-key is empty or missing, a password dialog appears asking you to enter a password. The input is masked.Write to config.yaml
When you click OK, the tray writes the entered password to
config.yaml under remote-management.secret-key and shows a “Password saved to config.yaml” balloon tip. CLIProxyAPI hashes the plaintext value on startup.Where the password is stored
The password is written as plaintext toconfig.yaml. CLIProxyAPI reads and hashes it on startup, so only the hash is ever held in memory.
secret-key empty to disable the management API entirely (all /v0/management routes return 404).
Resetting the password
Confirm the write
The tray writes the new value to
config.yaml and shows a confirmation balloon tip.Allowing remote access
By default,allow-remote: false restricts management endpoints to localhost only. To allow access from other machines on your network, edit config.yaml and set:
Troubleshooting
The tray keeps asking for a password on every Start
The tray keeps asking for a password on every Start
The tray asks for a password whenever
secret-key is empty in config.yaml. This usually means the previous write failed.Check that config.yaml is writable by the current user. If the file is in a protected directory (such as Program Files), move the installation to a user-writable location, or manually set secret-key in config.yaml using a text editor with elevated permissions.The tray shows an error balloon tip if it cannot write to config.yaml.The password reset didn't take effect
The password reset didn't take effect
CLIProxyAPI reads
config.yaml only on startup. After resetting the password, click Restart from the tray menu to apply the change. The old password remains active until the service restarts.