diff options
| author | tv <tv@krebsco.de> | 2026-11-02 21:34:12 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-02 21:34:12 +0100 |
| commit | 5e2d396049d6daa93cc4738ff1b19868e3455677 (patch) | |
| tree | e15697b0e1095df33a8579b65bc23a02d1c1334e /docs/trust.md | |
| parent | c7a1ba3630b3b5ae827ad28549b5a1d9005a8a4a (diff) | |
api: allow auth delegation
Diffstat (limited to 'docs/trust.md')
| -rw-r--r-- | docs/trust.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/trust.md b/docs/trust.md index 521a175..dc80045 100644 --- a/docs/trust.md +++ b/docs/trust.md @@ -34,7 +34,10 @@ secret like the swarm key: readable by its owner only (a node warns otherwise; a it creates is). **The HTTP API.** Every endpoint but the API description needs a user from -`--htpasswd`. It listens on `127.0.0.1:3000` by default (`--bind-addr`) and speaks +`--htpasswd`, or one a reverse proxy names (`--user-header`): the node believes that +header from `--trusted-proxies` alone, but from those blindly, so whoever can send +requests from such an address (another user of the same host, with the default +loopback addresses) can be any user. It listens on `127.0.0.1:3000` by default (`--bind-addr`) and speaks plain HTTP: to expose it, put a TLS proxy in front. All users may read and write user data and use the admin endpoints (remakes, forgetting peers, exports, log filters). There are no read-only users: whoever may open the dashboard may also edit and delete |
