mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-05 07:26:52 +00:00
Another PR on my quest to a `*_path` variant for every secret. Adds two config options `admin_token_path` and `client_secret_path` to the experimental config under `experimental_features.msc3861`. Also includes tests. I tried to be a good citizen here by following `attrs` conventions and not rewriting the corresponding non-path variants in the class, but instead adding methods to retrieve the value. Reading secrets from files has the security advantage of separating the secrets from the config. It also simplifies secrets management in Kubernetes. Also useful to NixOS users. |
||
---|---|---|
.. | ||
__init__.py | ||
test___main__.py | ||
test_api.py | ||
test_appservice.py | ||
test_background_update.py | ||
test_base.py | ||
test_cache.py | ||
test_database.py | ||
test_generate.py | ||
test_load.py | ||
test_oauth_delegation.py | ||
test_ratelimiting.py | ||
test_registration_config.py | ||
test_room_directory.py | ||
test_server.py | ||
test_tls.py | ||
test_util.py | ||
test_workers.py | ||
utils.py |