renovatebot/renovate

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

Open

#42,987 opened on Apr 29, 2026

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

Repository metrics

Stars
 (14,066 stars)
PR merge metrics
 (Avg merge 4d 3h) (358 merged PRs in 30d)

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