Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bbe8950

Browse filesBrowse files
shrinktaylorotwell
authored andcommitted
[5.6] Passes token configuration value to AWS Client (#24746)
* Passes `token` configuration value to S3 Client * Passes `token` configuration value to SQS client
1 parent 8369add commit bbe8950
Copy full SHA for bbe8950

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/Illuminate/Filesystem/FilesystemManager.php

Copy file name to clipboardExpand all lines: src/Illuminate/Filesystem/FilesystemManager.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ protected function formatS3Config(array $config)
220220
$config += ['version' => 'latest'];
221221

222222
if ($config['key'] && $config['secret']) {
223-
$config['credentials'] = Arr::only($config, ['key', 'secret']);
223+
$config['credentials'] = Arr::only($config, ['key', 'secret', 'token']);
224224
}
225225

226226
return $config;

‎src/Illuminate/Queue/Connectors/SqsConnector.php

Copy file name to clipboardExpand all lines: src/Illuminate/Queue/Connectors/SqsConnector.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function connect(array $config)
1919
$config = $this->getDefaultConfiguration($config);
2020

2121
if ($config['key'] && $config['secret']) {
22-
$config['credentials'] = Arr::only($config, ['key', 'secret']);
22+
$config['credentials'] = Arr::only($config, ['key', 'secret', 'token']);
2323
}
2424

2525
return new SqsQueue(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.