diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2022-08-26 12:26:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 11:26:06 +0000 |
commit | 5e5c8150d798f6929ddedbb39f9f11486558cdbc (patch) | |
tree | 88aa3464ae58b3ba513b6869de4075d75858f4b1 /docs | |
parent | Update debhelper (#13594) (diff) | |
download | synapse-5e5c8150d798f6929ddedbb39f9f11486558cdbc.tar.xz |
Generate missing configuration files at startup (#13615)
If things like the signing key file are missing, let's just try to generate them on startup. Again, this is useful for k8s-like deployments where we just want to generate keys on the first run.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/usage/configuration/config_documentation.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md index e9ab58854e..4c59e3dcf2 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md @@ -2139,6 +2139,9 @@ allows the shared secret to be specified in an external file. The file should be a plain text file, containing only the shared secret. +If this file does not exist, Synapse will create a new signing +key on startup and store it in this file. + Example configuration: ```yaml registration_shared_secret_file: /path/to/secrets/file @@ -2555,7 +2558,10 @@ Config options relating to signing keys --- ### `signing_key_path` -Path to the signing key to sign messages with. +Path to the signing key to sign events and federation requests with. + +*New in Synapse 1.67*: If this file does not exist, Synapse will create a new signing +key on startup and store it in this file. Example configuration: ```yaml |