1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-05 07:26:52 +00:00
synapse/tests/config
V02460 e41174cae3
Add MSC3861 config options admin_token_path and client_secret_path (#18004)
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.
2025-02-04 12:45:33 -06:00
..
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test___main__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_api.py Allow selecting "prejoin" events by state keys (#14642) 2022-12-13 00:54:46 +00:00
test_appservice.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_background_update.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_base.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_cache.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_database.py Update license headers 2023-11-21 15:29:58 -05:00
test_generate.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_load.py Add MSC3861 config options admin_token_path and client_secret_path (#18004) 2025-02-04 12:45:33 -06:00
test_oauth_delegation.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_ratelimiting.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_registration_config.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_room_directory.py Allow room creation but not publishing to continue if room publication rules are violated when creating a new room. (#16811) 2024-01-22 13:59:45 +00:00
test_server.py Update license headers 2023-11-21 15:29:58 -05:00
test_tls.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_util.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_workers.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
utils.py Add macaroon_secret_key_path config option (#17983) 2024-12-16 18:01:33 -06:00