Use generated/retrieved secrets in the config

This commit is contained in:
Emmanouil Kampitakis 2019-02-21 01:34:50 +01:00
parent e573e676a5
commit cffcbbb135

View file

@ -99,7 +99,9 @@ matrix_synapse_base_config:
- netloc: '*.t.co'
max_spider_size: "10M"
enable_registration: False
registration_shared_secret: "{{ matrix_synapse_registration_secret }}"
registration_shared_secret: >
"{{ registration_shared_secret_file.content | b64decode }}"
form_secret: "{{ form_secret_file.content | b64decode }}"
bcrypt_rounds: 12
allow_guest_access: False
trusted_third_party_id_servers:
@ -115,7 +117,7 @@ matrix_synapse_base_config:
- "m.room.name"
app_service_config_files: []
track_appservice_user_ips: False
macaroon_secret_key: "{{ matrix_synapse_macaroon_secret_key }}"
macaroon_secret_key: "{{ macaroon_file.content | b64decode }}"
expire_access_token: False
signing_key_path: "{{ matrix_synapse_signing_key_path }}"
old_signing_keys: {}