Security
Harmonic drives agents with real access to your repositories and machine, so who can reach it matters. Two settings decide that: an operator password and the host binding.
Operator password
Section titled “Operator password”One password gates the web UI; named API keys gate the REST API. Set it when you start:
harmonic start --password 'a long passphrase' # or the HARMONIC_PASSWORD env var- It’s stored hashed and persists: later starts without the flag keep it, they don’t revert to ungated.
- Setting a new value rotates it. Minimum length is 4 characters.
- To go back to ungated, clear it explicitly, and only on a local
binding:
harmonic start --password ''.
Host binding
Section titled “Host binding”--host | Reachable from | Use when |
|---|---|---|
0.0.0.0 (default) | Your whole network | You’ve set a password. |
127.0.0.1 | The local machine only | Local-only, no network exposure. |
Recommended setups
Section titled “Recommended setups”| Situation | Binding | Password |
|---|---|---|
| Just you, on your own machine | 127.0.0.1 | Optional |
| Reachable from other devices | 0.0.0.0 | Required |
| Behind a reverse proxy or tunnel | 127.0.0.1 | Required |
See CLI and
Configuration for the --password and
--host options, and Settings & overrides for
in-app Permission Rules.