support speech aws polly by role_arn (#729)

* support speech aws polly by role_arn

* support aws stt assume role

* wip

* update speech utils version
This commit is contained in:
Hoan Luu Huu
2024-05-02 18:59:21 +07:00
committed by GitHub
parent fad16144b9
commit 44e6a3513d
7 changed files with 23 additions and 12 deletions

View File

@@ -41,6 +41,7 @@ const speechMapper = (cred) => {
const o = JSON.parse(decrypt(credential));
obj.access_key_id = o.access_key_id;
obj.secret_access_key = o.secret_access_key;
obj.role_arn = o.role_arn;
obj.aws_region = o.aws_region;
}
else if ('microsoft' === obj.vendor) {