@@ -16,24 +16,14 @@ This lets you list, create and revoke authentication tokens.
1616 Shows a table of all active authentication tokens. You can request
1717 this as JSON with ` --json ` or tab-separated values with ` --parseable ` .
1818
19- ``` bash
20- +--------+---------+------------+----------+----------------+
21- | id | token | created | read-only | CIDR whitelist |
22- +--------+---------+------------+----------+----------------+
23- | 7f3134 | 1fa9ba… | 2017-10-02 | yes | |
24- +--------+---------+------------+----------+----------------+
25- | c03241 | af7aef… | 2017-10-02 | no | 192.168.0.1/24 |
26- +--------+---------+------------+----------+----------------+
27- | e0cf92 | 3a436a… | 2017-10-02 | no | |
28- +--------+---------+------------+----------+----------------+
29- | 63eb9d | 74ef35… | 2017-09-28 | no | |
30- +--------+---------+------------+----------+----------------+
31- | 2daaa8 | cbad5f… | 2017-09-26 | no | |
32- +--------+---------+------------+----------+----------------+
33- | 68c2fe | 127e51… | 2017-09-23 | no | |
34- +--------+---------+------------+----------+----------------+
35- | 6334e1 | 1dadd1… | 2017-09-23 | no | |
36- +--------+---------+------------+----------+----------------+
19+ ```
20+ Read only token npm_1f… with id 7f3134 created 2017-10-21
21+
22+ Publish token npm_af… with id c03241 created 2017-10-02
23+ with IP Whitelist: 192.168.0.1/24
24+
25+ Publish token npm_… with id e0cf92 created 2017-10-02
26+
3727```
3828
3929* ` npm token create [--read-only] [--cidr=<cidr-ranges>] ` :
@@ -49,16 +39,8 @@ This lets you list, create and revoke authentication tokens.
4939 website] ( https://docs.npmjs.com/creating-and-viewing-access-tokens )
5040 for more information on generating automation tokens.
5141
52- ``` bash
53- +----------------+--------------------------------------+
54- | token | a73c9572-f1b9-8983-983d-ba3ac3cc913d |
55- +----------------+--------------------------------------+
56- | cidr_whitelist | |
57- +----------------+--------------------------------------+
58- | readonly | false |
59- +----------------+--------------------------------------+
60- | created | 2017-10-02T07:52:24.838Z |
61- +----------------+--------------------------------------+
42+ ```
43+ Created publish token a73c9572-f1b9-8983-983d-ba3ac3cc913d
6244```
6345
6446* ` npm token revoke <token|id> ` :
0 commit comments