aboutsummaryrefslogtreecommitdiffstats
path: root/docs/configuration.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index d3f7e56..d246082 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -238,3 +238,22 @@ placeholders is shown as written instead.
```sh
continuum --config /etc/continuum.toml --print-config | jq .options.seeds
```
+
+## The party's client
+
+`continuum-party` (with the `federation` feature) takes its options, `node`, `token`,
+`key` and `record`, the same ways: on the command line, and in configuration files of
+the same format (`--config`, repeatable, later files winning, arguments winning over
+them; `--unset`; includes and imports), whose keys are those options alone:
+
+```toml
+node = "http://tv:${file:/run/secrets/tv-password}@localhost:3000"
+key = "/home/tv/.config/continuum/tv.key"
+record = "/home/tv/.config/continuum/tv.record"
+```
+
+```sh
+continuum-party --config tv.toml write home/tv/motd '"hello"'
+```
+
+`node` and `token` are secrets: never logged, however they are given.