Skip to content

Commit 566b0bc

Browse files
committed
token as array
1 parent 89c457d commit 566b0bc

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

config/laravel-echo-api-gateway.php

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
<?php
22

33
return [
4-
5-
'connection' => [
6-
'key' => env('AWS_ACCESS_KEY_ID'),
7-
'secret' => env('AWS_SECRET_ACCESS_KEY'),
8-
'token' => env('AWS_SESSION_TOKEN'),
9-
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
4+
"connection" => [
5+
"key" => env("AWS_ACCESS_KEY_ID"),
6+
"secret" => env("AWS_SECRET_ACCESS_KEY"),
7+
"token" => [env("AWS_SESSION_TOKEN")],
8+
"region" => env("AWS_DEFAULT_REGION", "us-east-1"),
109
],
1110

12-
'api' => [
13-
'id' => env('LARAVEL_ECHO_API_GATEWAY_API_ID'),
14-
'stage' => env('LARAVEL_ECHO_API_GATEWAY_API_STAGE'),
11+
"api" => [
12+
"id" => env("LARAVEL_ECHO_API_GATEWAY_API_ID"),
13+
"stage" => env("LARAVEL_ECHO_API_GATEWAY_API_STAGE"),
1514
],
1615

17-
'dynamodb' => [
18-
'endpoint' => env('DYNAMODB_ENDPOINT'),
19-
'table' => env('LARAVEL_ECHO_API_GATEWAY_DYNAMODB_TABLE', 'connections'),
16+
"dynamodb" => [
17+
"endpoint" => env("DYNAMODB_ENDPOINT"),
18+
"table" => env(
19+
"LARAVEL_ECHO_API_GATEWAY_DYNAMODB_TABLE",
20+
"connections"
21+
),
2022
],
21-
2223
];

0 commit comments

Comments
 (0)