Multiple private registries with same encrypted token #680
Comments
I think you want Encrypted entire .npmrc file into config from the docs. Take a look at that and see if it works for you. |
I would but it's too long for the encryption as there is a length limit |
You can alternative use a hostRule with hostType=npm to configure credentials So you only need to encrypt the token |
See #678 |
@viceice If I read that correctly it would hardcode the url parameter to |
I was thinking if this replace should just be a global one https://github.com/renovatebot/renovate/blob/2515a89dabf88bd6d4cf06386053352ea4107f7e/lib/config/decrypt.ts#L56 |
FYI: renovatebot/renovate#6431 Does not solve the problem on its own. Ideally, shouldn't it be that if the user configures |
I think that should work for me as I have the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon if no further activity occurs. |
Which Renovate are you using?
WhiteSource Renovate App
Which platform are you using?
GitHub.com
Have you checked the logs? Don't forget to include them if relevant
What would you like to do?
Our
.npmrc
looks like thisDoes the renovate encrypted npm token mechanism support this if we placed the
npmrc
above in the renovate configurations with the encrypted npm token?Is it possible to have multiple registries that share the same encrypted secret so they both get replaced properly?
The text was updated successfully, but these errors were encountered: