add loginTokenKey to docs #4153

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Jan 15, 2024 at 17:08 UTC 329ba43e8119339aa4d11298bf8b60ba7d789457
1 file changed +12 -2
docs/docs/meshcentral/tokens.md
+12 -2
@@ -8,8 +8,18 @@
8
9 ## Software Integration Tokens
10
11 -Currently, the login tokens in the user manual section 14.1 can't be tracked, deleted or revoked. They are generated with:
11 +!!!note
12 + You can only generate a SINGLE loginTokenKey!
13 + So if you regenerate a loginTokenKey, the old one will be revoked/deleted!
14 +
15 +You can generate the Login Token Key with the following:
16 +
17 +```bash
18 +node node_modules/meshcentral --loginTokenKey
19 +```
20 +
21 +You can then revoke/renew the Login Token Key with the following:
22
23 ```bash
14 -node meshcentral --loginTokenKey
24 +node node_modules/meshcentral --loginTokenKey --loginTokenGen
25 ```