Skip to content

Commit 5fc9245

Browse files
committed
docs: add deprecation note to token creation
1 parent fe9484a commit 5fc9245

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/lib/content/commands/npm-token.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ Publish token npm_… with id e0cf92 created 2017-10-02
2626
2727
```
2828

29-
* `npm token create [--read-only] [--cidr=<cidr-ranges>]`:
29+
* `npm token create [--read-only] [--cidr=<cidr-ranges>]` (deprecated):
3030
Create a new authentication token. It can be `--read-only`, or accept
3131
a list of
3232
[CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
3333
ranges with which to limit use of this token. This will prompt you for
3434
your password, and, if you have two-factor authentication enabled, an
3535
otp.
3636

37-
Currently, the cli can not generate automation tokens. Please refer to
38-
the [docs
39-
website](https://docs.npmjs.com/creating-and-viewing-access-tokens)
40-
for more information on generating automation tokens.
37+
Creating tokens via the CLI will be deprecated soon and will be
38+
removed in a future release. Please visit
39+
https://docs.npmjs.com/creating-and-viewing-access-tokens for more
40+
information.
4141

4242
```
4343
Created publish token a73c9572-f1b9-8983-983d-ba3ac3cc913d

0 commit comments

Comments
 (0)