diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2021-01-16 00:09:24 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2021-01-18 14:10:57 +0300 |
commit | 1f287b04a20a9c69987703ff341d9c1085018238 (patch) | |
tree | cb5103ddadb05817049dffc7f3abfee970392086 /deps/npm/docs/output/commands/npm-token.html | |
parent | f8ab632d56ea15c78b1dc5db1624109a2bf7b69b (diff) |
deps: upgrade npm to 7.4.2
PR-URL: https://github.com/nodejs/node/pull/36953
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'deps/npm/docs/output/commands/npm-token.html')
-rw-r--r-- | deps/npm/docs/output/commands/npm-token.html | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/deps/npm/docs/output/commands/npm-token.html b/deps/npm/docs/output/commands/npm-token.html index c704357a4b5..de92432475e 100644 --- a/deps/npm/docs/output/commands/npm-token.html +++ b/deps/npm/docs/output/commands/npm-token.html @@ -153,8 +153,8 @@ npm command-line interface <p>This lets you list, create and revoke authentication tokens.</p> <ul> <li><code>npm token list</code>: -Shows a table of all active authentication tokens. You can request this as -JSON with <code>--json</code> or tab-separated values with <code>--parseable</code>.</li> +Shows a table of all active authentication tokens. You can request +this as JSON with <code>--json</code> or tab-separated values with <code>--parseable</code>.</li> </ul> <pre lang="bash"><code>+--------+---------+------------+----------+----------------+ | id | token | created | read-only | CIDR whitelist | @@ -175,11 +175,19 @@ JSON with <code>--json</code> or tab-separated values with <code>--parseable</co +--------+---------+------------+----------+----------------+ </code></pre> <ul> -<li><code>npm token create [--read-only] [--cidr=<cidr-ranges>]</code>: -Create a new authentication token. It can be <code>--read-only</code> or accept a list of -<a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">CIDR</a> ranges to -limit use of this token to. This will prompt you for your password, and, if you have -two-factor authentication enabled, an otp.</li> +<li> +<p><code>npm token create [--read-only] [--cidr=<cidr-ranges>]</code>: +Create a new authentication token. It can be <code>--read-only</code>, or accept +a list of +<a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">CIDR</a> +ranges with which to limit use of this token. This will prompt you for +your password, and, if you have two-factor authentication enabled, an +otp.</p> +<p>Currently, the cli can not generate automation tokens. Please refer to +the <a href="https://docs.npmjs.com/creating-and-viewing-access-tokens">docs +website</a> +for more information on generating automation tokens.</p> +</li> </ul> <pre lang="bash"><code>+----------------+--------------------------------------+ | token | a73c9572-f1b9-8983-983d-ba3ac3cc913d | @@ -193,10 +201,12 @@ two-factor authentication enabled, an otp.</li> </code></pre> <ul> <li><code>npm token revoke <token|id></code>: -This removes an authentication token, making it immediately unusable. This can accept -both complete tokens (as you get back from <code>npm token create</code> and will -find in your <code>.npmrc</code>) and ids as seen in the <code>npm token list</code> output. -This will NOT accept the truncated token found in <code>npm token list</code> output.</li> +Immediately removes an authentication token from the registry. You +will no longer be able to use it. This can accept both complete +tokens (such as those you get back from <code>npm token create</code>, and those +found in your <code>.npmrc</code>), and ids as seen in the parseable or json +output of <code>npm token list</code>. This will NOT accept the truncated token +found in the normal <code>npm token list</code> output.</li> </ul> </div> |