renovatebot/renovate

feat(datasource/aws-machine-image): add `hostType` authentication

Open

#42987 opened on Apr 29, 2026

View on GitHub
 (0 comments) (2 reactions) (0 assignees)TypeScript (14,066 stars) (1,916 forks)batch import
help wanted

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.

Contributor guide