add loginTokenKey to docs #4153

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-01-15 17:08:32 +00:00
parent 6cacec010b
commit 329ba43e81
1 changed files with 12 additions and 2 deletions

View File

@ -8,8 +8,18 @@
## Software Integration Tokens
Currently, the login tokens in the user manual section 14.1 can't be tracked, deleted or revoked. They are generated with:
!!!note
You can only generate a SINGLE loginTokenKey!
So if you regenerate a loginTokenKey, the old one will be revoked/deleted!
You can generate the Login Token Key with the following:
```bash
node meshcentral --loginTokenKey
node node_modules/meshcentral --loginTokenKey
```
You can then revoke/renew the Login Token Key with the following:
```bash
node node_modules/meshcentral --loginTokenKey --loginTokenGen
```