File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 16
16
| http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html
17
17
|
18
18
*/
19
- 'credentials ' => [
20
- 'key ' => env ('AWS_ACCESS_KEY_ID ' ),
21
- 'secret ' => env ('AWS_SECRET_ACCESS_KEY ' ),
22
- ],
19
+
23
20
'region ' => env ('AWS_REGION ' , 'us-east-1 ' ),
24
21
'version ' => 'latest ' ,
25
22
'ua_append ' => [
Original file line number Diff line number Diff line change @@ -42,9 +42,6 @@ public function register()
42
42
{
43
43
$ this ->app ->singleton ('aws ' , function ($ app ) {
44
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
45
return new Sdk ($ config );
49
46
});
50
47
You can’t perform that action at this time.
0 commit comments