when using AWS for STT generate and use a session token

This commit is contained in:
Dave Horton committed 2023-12-01 09:52:34 -05:00
1 parent dab83423cf
commit e8647b2b55
1 file changed
+2 -1
+2 -1
View File
@@ -491,7 +491,8 @@ module.exports = (logger) => {
...(sttCredentials && {
AWS_ACCESS_KEY_ID: sttCredentials.accessKeyId,
AWS_SECRET_ACCESS_KEY: sttCredentials.secretAccessKey,
AWS_REGION: sttCredentials.region
AWS_REGION: sttCredentials.region,
AWS_SESSION_TOKEN: sttCredentials.sessionToken
}),
};
}