renovatebot/renovate

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

已關閉

#42,987 建立於 2026年4月29日

 (0 則留言) (2 個反應) (0 位負責人)TypeScript (1,916 個分叉)batch import
help wanted

倉庫指標

星標
 (14,066 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南