feat(datasource/aws-machine-image): add `hostType` authentication
#42987 opened on Apr 29, 2026
Description
In at least a few occasions, we've had folks looking to understand how to set authentication for the aws-machine-image datasource.
Right now, it's only possible to set this through i.e. via AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, which isn't ideal when using a widely shared deployment of Renovate, such as Mend-hosted Renovate.
We should surface this as something that can be set in the hostRules authentication.
This would then allow Mend-hosted users to specify this, as well as allowing opportunities for users within organisations to specify this i.e. across many accounts, or on a per-file basis.
[!WARNING] This should not override the default AWS credentials for initialising the client in other cases, only for the purpose of listing AWS Machine Image tags.
- https://github.com/renovatebot/renovate/discussions/13364
- https://github.com/renovatebot/renovate/discussions/14968
- https://github.com/renovatebot/renovate/discussions/16320
- https://github.com/renovatebot/renovate/discussions/21941
- https://github.com/renovatebot/renovate/discussions/22247
- https://github.com/renovatebot/renovate/discussions/23421
- https://github.com/renovatebot/renovate/discussions/23477
- https://github.com/renovatebot/renovate/discussions/24416
- https://github.com/renovatebot/renovate/discussions/25550
- https://github.com/renovatebot/renovate/discussions/25852
- https://github.com/renovatebot/renovate/discussions/26106
- https://github.com/renovatebot/renovate/discussions/28931
- https://github.com/renovatebot/renovate/discussions/29465
- https://github.com/renovatebot/renovate/discussions/30089
- https://github.com/renovatebot/renovate/discussions/31378
- https://github.com/renovatebot/renovate/discussions/32070
- https://github.com/renovatebot/renovate/discussions/32467
- https://github.com/renovatebot/renovate/discussions/33920
- https://github.com/renovatebot/renovate/discussions/34054
- https://github.com/renovatebot/renovate/discussions/34750
- https://github.com/renovatebot/renovate/discussions/35475
- https://github.com/renovatebot/renovate/discussions/41923