diff --git a/seaweed-block/docs/operations-manual.md b/seaweed-block/docs/operations-manual.md index bf4fba223c..c80c54b62c 100644 --- a/seaweed-block/docs/operations-manual.md +++ b/seaweed-block/docs/operations-manual.md @@ -250,6 +250,27 @@ holder is not supported. (The v1.0.2 notes' "CLI last" applied to upgrades withi **Authentication.** For production, set up mutual TLS for the control API ([authenticate the control API](operator-guide.md#authenticate-the-control-api)). The examples here run on loopback without it. +**Network trust.** blockmaster's control API authenticates callers with mutual TLS and authorizes them by role +(viewer, operator, admin, node) when `--tls-cert`, `--tls-key`, `--tls-client-ca`, `--role-file` and `--audit-log` +are all set. The audit log records volume create and delete, failback, workspace binding registration, placement, move and +revoke, format finalize and host retirement before they run, and refuses such a call when it cannot record it; other +calls by people are recorded after they run, as far as the log allows. Without these flags blockmaster accepts only loopback connections. Nothing else is encrypted, and only +the iSCSI target authenticates its clients: +- the volume host's status and chunk control HTTP endpoints have no authentication and listen on loopback unless + `--allow-external-status-bind` is set, which a volume host that authenticates to blockmaster (`--master-tls-cert`) + refuses; +- the replication channel between replicas (replicated volumes, preview) has no authentication; +- the connection to the SeaweedFS filer and volume servers has no authentication of its own: anyone who can reach + the filer can read or change any volume's metadata and chunks, which are stored unencrypted; +- the NVMe/TCP target has no authentication and listens on loopback unless `--allow-external-nvme-bind` is set; +- the iSCSI target listens off loopback only with `--allow-external-iscsi-bind`, which requires CHAP + (`--iscsi-chap-username`, `--iscsi-chap-secret`) for normal sessions; discovery sessions are not authenticated, so + any initiator that reaches the port can list the target name and portal; on loopback CHAP is optional; its traffic + is not encrypted. + +Run these on a trusted network only, and keep blockmaster's key files, role file and audit log readable only by its +service user. + ## 2. Cluster spec and blockmaster blockmaster needs two things: a cluster spec and a lifecycle store. The cluster spec lists the nodes, and each volume