Skip to content

Commit

Permalink
docs: replace unencrypted with plaintext (#20849)
Browse files Browse the repository at this point in the history
  • Loading branch information
HonkingGoose committed Mar 10, 2023
1 parent 2102b70 commit da1eeea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/getting-started/private-packages.md
Expand Up @@ -231,7 +231,7 @@ The recommended approaches in order of preference are:

1. **Self-hosted hostRules**: Configure a hostRules entry in the bot's `config.js` with the `hostType`, `matchHost` and `token` specified
1. **Renovate App with private modules from npmjs.org**: Add an encrypted `npmToken` to your Renovate config
1. **Renovate App with a private registry**: Add an unencrypted `npmrc` plus an encrypted `npmToken` in config
1. **Renovate App with a private registry**: Add an plaintext `npmrc` plus an encrypted `npmToken` in config

These approaches are described in full below.

Expand Down Expand Up @@ -296,7 +296,7 @@ If you are using the main npmjs registry then you can configure just the `npmTok

#### Add an encrypted npm token to Renovate config

If you don't want all users of the repository to see the unencrypted token, you can encrypt it with Renovate's public key instead, so that only Renovate can decrypt it.
If you don't want all users of the repository to see the plaintext token, you can encrypt it with Renovate's public key instead, so that only Renovate can decrypt it.

Go to <https://app.renovatebot.com/encrypt>, paste in your npm token, select "Encrypt", then copy the encrypted result.

Expand Down

0 comments on commit da1eeea

Please sign in to comment.