We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cffa34c commit 68a5af9Copy full SHA for 68a5af9
.config/s3.config.php
@@ -23,7 +23,9 @@
23
)
24
);
25
26
- if (getenv('OBJECTSTORE_S3_SSE_C_KEY')) {
+ if (getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE') && file_exists(getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE'))) {
27
+ $CONFIG['objectstore']['arguments']['sse_c_key'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE'));
28
+ } elseif (getenv('OBJECTSTORE_S3_SSE_C_KEY')) {
29
$CONFIG['objectstore']['arguments']['sse_c_key'] = getenv('OBJECTSTORE_S3_SSE_C_KEY');
30
}
31
0 commit comments