mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 00:58:34 +00:00
wip
This commit is contained in:
@@ -92,7 +92,7 @@ class SttTask extends Task {
|
||||
const {accessKeyId, secretAccessKey, region } = credentials;
|
||||
const { servedFromCache, ...newCredentials} = await getAwsAuthToken(accessKeyId, secretAccessKey, region);
|
||||
this.logger.debug({newCredentials}, `got aws security token ${servedFromCache ? 'from cache' : ''}`);
|
||||
credentials = newCredentials;
|
||||
credentials = {...newCredentials, region};
|
||||
}
|
||||
return credentials;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user