We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16398c7 commit a5b543bCopy full SHA for a5b543b
config/aws.php
@@ -16,10 +16,7 @@
16
| http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html
17
|
18
*/
19
- 'credentials' => [
20
- 'key' => env('AWS_ACCESS_KEY_ID'),
21
- 'secret' => env('AWS_SECRET_ACCESS_KEY'),
22
- ],
+
23
'region' => env('AWS_REGION', 'us-east-1'),
24
'version' => 'latest',
25
'ua_append' => [
src/AwsServiceProvider.php
@@ -42,9 +42,6 @@ public function register()
42
{
43
$this->app->singleton('aws', function ($app) {
44
$config = $app['config']->get('aws');
45
- if (is_null($app['config']->get('aws')['credentials']['key']) && is_null($app['config']->get('aws')['credentials']['secret'])) {
46
- unset($config['credentials']);
47
- }
48
return new Sdk($config);
49
});
50
0 commit comments