Managing Nodes¶
Allowlist¶
With node_policy allowlist, the default, only registered keys are accepted:
curl -X PUT http://aggregator-1:8080/v1/nodes/<public key> -H "Authorization: Bearer $MANAGEMENT_TOKEN" -H "Content-Type: application/json" \
-d '{"node_id": "node-1", "cluster_id": "cluster-1"}'
A key can write only as the node and cluster it is registered for.
Trust on first use¶
With tofu, the first key that writes as a node is bound to it. Use this only in closed networks.
Remove¶
curl -X DELETE http://aggregator-1:8080/v1/nodes/<public key> -H "Authorization: Bearer $MANAGEMENT_TOKEN"
Change settings¶
curl -X PUT http://aggregator-1:8080/v1/config -H "Authorization: Bearer $MANAGEMENT_TOKEN" -H "Content-Type: application/json" \
-d '{"window_seconds": "10", "retention_days": "90"}'
All values are strings. See Configuration.