Skip to content

Commit

Permalink
Adding fallback to AWS_SESSION_TOKEN inside the config (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoRogai authored Apr 3, 2023
1 parent 9d40cc3 commit 93bb071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/xray.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '',
],
],
Expand Down

0 comments on commit 93bb071

Please sign in to comment.