From f19547860bf67075d561a1bcdf30024ef06c9e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85ke=20Forslund?= Date: Sun, 19 Apr 2020 17:53:02 +0200 Subject: [PATCH] Update polly access key config to match AWS better key_id -> access_key_id secret_key -> secret_access_key --- mycroft/configuration/mycroft.conf | 4 ++-- mycroft/tts/polly_tts.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mycroft/configuration/mycroft.conf b/mycroft/configuration/mycroft.conf index 4ae47c0011..4b5b69ee8b 100644 --- a/mycroft/configuration/mycroft.conf +++ b/mycroft/configuration/mycroft.conf @@ -292,8 +292,8 @@ "polly": { "voice": "Matthew", "region": "us-east-1", - "key_id": "", - "secret_key": "" + "access_key_id": "", + "secret_access_key": "" }, "mimic": { "voice": "ap" diff --git a/mycroft/tts/polly_tts.py b/mycroft/tts/polly_tts.py index a237665907..32e724bc48 100644 --- a/mycroft/tts/polly_tts.py +++ b/mycroft/tts/polly_tts.py @@ -31,8 +31,8 @@ class PollyTTS(TTS): "mark"]) self.voice = self.config.get("voice", "Matthew") - self.key_id = self.config.get("key_id", '') - self.key = self.config.get("secret_key", '') + self.key_id = self.config.get("access_key_id", '') + self.key = self.config.get("secret_access_key", '') self.region = self.config.get("region", 'us-east-1') self.polly = boto3.Session(aws_access_key_id=self.key_id, aws_secret_access_key=self.key,