renovatebot/renovate

Automatic util/http handling of dynamic credentials

Aperta

#11.325 aperta il 18 ago 2021

 (1 commento) (19 reazioni) (0 assegnatari)TypeScript (1916 fork)batch import
help wantedpriority-3-medium

Metriche repository

Star
 (14.066 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor