From 93bb0710eafba9db94a42839451edf1d27ddd0e6 Mon Sep 17 00:00:00 2001 From: Lorenzo Rogai Date: Mon, 3 Apr 2023 20:07:10 +0200 Subject: [PATCH] Adding fallback to AWS_SESSION_TOKEN inside the config (#38) --- config/xray.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/xray.php b/config/xray.php index 4841744..ab5259e 100755 --- a/config/xray.php +++ b/config/xray.php @@ -95,7 +95,7 @@ 'credentials' => [ 'key' => env('XRAY_AWS_ACCESS_KEY_ID') ?? env('AWS_ACCESS_KEY_ID'), 'secret' => env('XRAY_AWS_SECRET_ACCESS_KEY') ?? env('AWS_SECRET_ACCESS_KEY'), - 'token' => env('XRAY_AWS_TOKEN'), + 'token' => env('XRAY_AWS_TOKEN') ?? env('AWS_SESSION_TOKEN'), 'expires' => '', ], ],