2023-06-13 19:48:44 +00:00
|
|
|
{% if not matrix_synapse_ext_synapse_s3_storage_provider_config_ec2_instance_profile | bool %}
|
2023-06-13 16:08:14 +00:00
|
|
|
AWS_ACCESS_KEY_ID={{ matrix_synapse_ext_synapse_s3_storage_provider_config_access_key_id }}
|
|
|
|
AWS_SECRET_ACCESS_KEY={{ matrix_synapse_ext_synapse_s3_storage_provider_config_secret_access_key }}
|
|
|
|
{% endif %}
|
2022-10-14 14:41:41 +00:00
|
|
|
AWS_DEFAULT_REGION={{ matrix_synapse_ext_synapse_s3_storage_provider_config_region_name }}
|
|
|
|
|
|
|
|
ENDPOINT={{ matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url }}
|
|
|
|
BUCKET={{ matrix_synapse_ext_synapse_s3_storage_provider_config_bucket }}
|
2022-10-30 23:01:49 +00:00
|
|
|
|
2024-09-17 18:25:15 +00:00
|
|
|
{% if matrix_synapse_ext_synapse_s3_storage_provider_config_prefix %}
|
|
|
|
PREFIX={{ matrix_synapse_ext_synapse_s3_storage_provider_config_prefix }}
|
|
|
|
{% endif %}
|
|
|
|
|
2022-10-30 23:01:49 +00:00
|
|
|
{% if matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_enabled %}
|
2023-01-03 22:53:33 +00:00
|
|
|
SSE_CUSTOMER_KEY={{ matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_key }}
|
2022-10-30 23:01:49 +00:00
|
|
|
SSE_CUSTOMER_ALGO={{ matrix_synapse_ext_synapse_s3_storage_provider_config_sse_customer_algo }}
|
|
|
|
{% endif %}
|
|
|
|
|
2022-10-14 15:29:30 +00:00
|
|
|
STORAGE_CLASS={{ matrix_synapse_ext_synapse_s3_storage_provider_config_storage_class }}
|
2022-10-14 14:41:41 +00:00
|
|
|
|
|
|
|
MEDIA_PATH=/matrix-media-store-parent/{{ matrix_synapse_media_store_directory_name }}
|
|
|
|
|
|
|
|
UPDATE_DB_DURATION={{ matrix_synapse_ext_synapse_s3_storage_provider_update_db_day_count }}d
|