-
Notifications
You must be signed in to change notification settings - Fork 16
Trying to encrypt npmrc which is too long according to https://app.renovatebot.com/encrypt #737
Comments
Unfortunately this may be a use case we don't have a solution for just yet. Normally you could configure just an encrypted |
for the {
"hostType": "npm",
"baseUrl": "npm.pkg.github.com",
"encrypted": { "token": "...." }
} |
I note there's both |
Nope, for the auth part (if only one of them) he can use the encryped {
"encrypted": {
"npmToken": "XXXXXXXXXX=="
},
"npmrc": "@finnair:registry=https://nexus.development.tool.clouds.finnair.com/nexus/repository/npm/\n//nexus.development.tool.clouds.finnair.com/nexus/repository/npm:_auth=${NPM_TOKEN}",
"hostRules": [
{
"hostType": "npm",
"baseUrl": "npm.pkg.github.com",
"encrypted": { "token": "YYYYYYY==" }
}
]
} ⬆️ need to add all registries |
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. |
Thank you for the help, I got the authentication with several registries sorted out! |
Which Renovate are you using?
WhiteSource Renovate App
Which platform are you using?
GitHub Enterprise
Have you checked the logs? Don't forget to include them if relevant
No access to them
What would you like to do?
Increase the maximum input size for the encryption tool.
The
npmrc
in question looks something like this, the tokens are not included:The text was updated successfully, but these errors were encountered: