koel/config/aws.php
Sergey Parfenov 3872482b61
feat: enable usage with S3-compatible services (#1381)
Co-authored-by: sergiustheblack <sergius@goes.black>
Co-authored-by: Phan An <me@phanan.net>
2021-12-22 11:17:54 +01:00

30 lines
955 B
PHP

<?php
use Aws\Laravel\AwsServiceProvider;
return [
/*
|--------------------------------------------------------------------------
| AWS SDK Configuration
|--------------------------------------------------------------------------
|
| The configuration options set in this file will be passed directly to the
| `Aws\Sdk` object, from which all client objects are created. The minimum
| required options are declared here, but the full set of possible options
| are documented at:
| http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html
|
*/
'endpoint' => env('AWS_ENDPOINT', 'https://s3.amazonaws.com'),
'credentials' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
],
'region' => env('AWS_REGION', 'us-east-1'),
'version' => 'latest',
'ua_append' => [
'L5MOD/' . AwsServiceProvider::VERSION,
],
];