-
-
Notifications
You must be signed in to change notification settings - Fork 6
How to get Amazon Polly credentials
IMPORTANT NOTE: The credentials generated in this guide should be treated like passwords. NEVER share your credentials with anyone unless you know what you're doing. If you think your credentials are compromised, please return to the credentials page, generate new ones and delete the previous ones.
If you don't want to setup these credentials yourself, I provide a service that allows you to get access to most TTS engines. Learn more about it here.
- Go to: https://aws.amazon.com
- Create an AWS account
Once your account has been created, create a Cognito access to link to Izabela.
- Go to: https://console.aws.amazon.com/cognito/v2/home
- Select the region closest to yours in the top right
- Click on "Create identity pool"
You'll land on the Identity pool creation page. On that page:
- Select "Guest Access"
- Click "Next" to confirm
- Select "Create a new IAM Role" (make sure you create a new one, you will run into issues if you select an existing one)
- Enter "izabela-tts" in "IAM role name"
- Click "Next" to confirm
- Enter "izabela-tts" in "Name"
- Click "Next" to confirm
- Click "Create identity pool"
You'll land on the Identity pools page. On that page you can copy the "Identity pool ID" for "izabela-tts".
Note: The region is before the ":" within the "Identity pool ID" ("ca-central-1" in this case)
Once your Cognito access has been created, enable access to Amazon Polly for your Identity Pool.
- Go to: https://console.aws.amazon.com/iamv2/home?#/roles and click on "izabela-tts"
You'll land on the detail page for the role "izabela-tts". On that page:
- Click on "Add permissions" then click on "Attach policies"
You'll land on the policy list page for the role "izabela-tts". On that page:
- Search "Polly" to filter the list
- Check "AmazonPollyReadOnlyAccess"
- Click on "Attach permissions" to confirm
After that you should be able to use Amazon Polly in Izabela.