From 329ba43e8119339aa4d11298bf8b60ba7d789457 Mon Sep 17 00:00:00 2001 From: si458 Date: Mon, 15 Jan 2024 17:08:32 +0000 Subject: [PATCH] add loginTokenKey to docs #4153 Signed-off-by: si458 --- docs/docs/meshcentral/tokens.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/docs/meshcentral/tokens.md b/docs/docs/meshcentral/tokens.md index c190d674..0750f03a 100644 --- a/docs/docs/meshcentral/tokens.md +++ b/docs/docs/meshcentral/tokens.md @@ -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 ```