Amazon Polly uses a dedicated config file instead of reusing the Azure .env
path. That separation makes provider-specific credential and region problems
much easier to trace.
- Create a local
.polly.envfile in INI format. - Open
Tools > Settings. - Set
TTS ProvidertoAmazon Polly. - Point
Polly Config Fileat the dedicated config file. - Choose a Polly engine and voice, then use
Test Amazon Polly.
[POLLY]
aws_access_key_id = YOUR_AWS_ACCESS_KEY_ID
aws_secret_access_key = YOUR_AWS_SECRET_ACCESS_KEY
aws_session_token = OPTIONAL_SESSION_TOKEN
region = us-east-1aws_session_token is optional. The other fields are required.
When the app needs Polly settings, it reads the configured Polly file path from
the saved app settings and then loads the [POLLY] section from that file.
If the file is missing or invalid, Polly generation/export stays unavailable and the app shows a provider-specific setup error instead of falling back to Azure settings.
- Keep the Polly config file local and uncommitted.
Amazon Pollysupportsstandard,neural,long-form, andgenerativeengines, but actual voice availability depends on the configured AWS region.- The settings connection test can refresh the voice list from the configured AWS region when the Polly config file is valid.