config/config.phpmodified+1-0Changes to config/config.php | @@ -96,6 +96,7 @@ return [ |
| 96 | 96 | 'credentials' => [ |
| 97 | 97 | 'key' => env('AWS_ACCESS_KEY_ID', ''), |
| 98 | 98 | 'secret' => env('AWS_SECRET_ACCESS_KEY', ''), |
| 99 | + 'token' => env('AWS_SESSION_TOKEN', ''), |
| 99 | 100 | ], |
| 100 | 101 | |
| 101 | 102 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), |
src/TextToSpeechManager.phpmodified+1-1Changes to src/TextToSpeechManager.php | @@ -66,7 +66,7 @@ class TextToSpeechManager extends Manager |
| 66 | 66 | */ |
| 67 | 67 | protected function getCredentials(array $credentials) |
| 68 | 68 | { |
| 69 | | - return new Credentials($credentials['key'], $credentials['secret']); |
| 69 | + return new Credentials($credentials['key'], $credentials['secret'], $credentials['token']); |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | |