Adjust API secret to be a configurable and required variable

This commit is contained in:
Björn Marten 2020-01-10 12:38:37 +01:00
parent 50bf8c8dd7
commit 9892eac789
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,7 @@ matrix_appservice_webhooks_systemd_wanted_services_list: []
matrix_appservice_webhooks_appservice_token: '' matrix_appservice_webhooks_appservice_token: ''
matrix_appservice_webhooks_homeserver_token: '' matrix_appservice_webhooks_homeserver_token: ''
matrix_appservice_webhooks_id_token: '' matrix_appservice_webhooks_id_token: ''
matrix_appservice_webhooks_api_secret: ''
matrix_appservice_webhooks_configuration_yaml: | matrix_appservice_webhooks_configuration_yaml: |
@ -69,7 +70,7 @@ matrix_appservice_webhooks_configuration_yaml: |
# Provisioning API options # Provisioning API options
provisioning: provisioning:
# Your secret for the API. Required for all provisioning API requests. # Your secret for the API. Required for all provisioning API requests.
secret: 'warummussesdennsolangsein' secret: '{{ matrix_appservice_webhooks_api_secret }}'
# Configuration related to the web portion of the bridge. Handles the inbound webhooks # Configuration related to the web portion of the bridge. Handles the inbound webhooks
web: web:

View File

@ -9,3 +9,4 @@
- "matrix_appservice_webhooks_appservice_token" - "matrix_appservice_webhooks_appservice_token"
- "matrix_appservice_webhooks_homeserver_token" - "matrix_appservice_webhooks_homeserver_token"
- "matrix_appservice_webhooks_id_token" - "matrix_appservice_webhooks_id_token"
- "matrix_appservice_webhooks_api_secret"