|
|
|
|
@ -39,4 +39,10 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
|
|
|
|
|
} else {
|
|
|
|
|
$CONFIG['objectstore']['arguments']['secret'] = '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE') && file_exists(getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE'))) {
|
|
|
|
|
$CONFIG['objectstore']['arguments']['sse_c_key'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE')));
|
|
|
|
|
} elseif (getenv('OBJECTSTORE_S3_SSE_C_KEY')) {
|
|
|
|
|
$CONFIG['objectstore']['arguments']['sse_c_key'] = getenv('OBJECTSTORE_S3_SSE_C_KEY');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|