Add bootstrap generate-user-token command

Add command to generate a user token for connecting to the master server
web interface.  This servers as an alternative to generating a control
config for use with clusterioctl.
This commit is contained in:
Hornwitser committed 2020-11-08 18:27:24 +01:00
1 parent 325c08389e
commit 6a4875c5ec
3 files changed
+32 -1

No files matched your search

+7
View File
@@ -110,6 +110,13 @@ exist in the cluster and grant it full cluster admin permission. You
should be using your own Factorio multiplayer username here.
#### `bootstrap generate-user-token <name>`
Generate an access token for logging in and possibly managing the
cluster from the given user account. This can be used both in the web
interface and as the `master_token` to connect with clusterioctl.
#### `bootstrap create-ctl-config <name>`
Creates a clusterioctl config for the given user with url and token set