renovatebot/renovate

Automatic util/http handling of dynamic credentials

Open

#11,325 建立於 2021年8月18日

在 GitHub 查看
 (1 留言) (19 反應) (0 負責人)TypeScript (14,066 star) (1,916 fork)batch import
help wantedpriority-3-medium

描述

What would you like Renovate to be able to do?

Support dynamic credentials such as for AWS CodeArtifact or ECR in a simpler and more generic manner.

If you have any ideas on how this should be implemented, please tell us here.

Instead of pushing credentials awareness up to the datasource layer, instead we could reuse the existing authType field to tell the http layer that a token or username/password is not your "regular" Bearer or Basic one. e.g. we could support authType=aws-ecr and authType=code-artifact. The datasource could be agnostic to it and the http layer is responsible for generating the "real" token to use in the auth headers, and maybe even caching it too.

Is this a feature you are interested in implementing yourself?

Yes

貢獻者指南