> ## Documentation Index
> Fetch the complete documentation index at: https://gns3util.saygex.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Gns3util cluster control users gen token

## gns3util cluster-control users gen-token

Generate a JWT token for a user

### Synopsis

Mint a new JWT for a user via the REST API using your current admin session.
Unlike 'ctl create token', this does not require cluster\_access.toml or a TLS
client certificate — any authenticated admin can call it.

```
gns3util cluster-control users gen-token <user-id> [flags]
```

### Examples

```
  gns3util ctl users gen-token alice
  gns3util ctl users gen-token alice -c cluster -o json
```

### Options

```
  -h, --help   help for gen-token
```

### Options inherited from parent commands

```
  -c, --cluster string      Cluster name from keyfile. Mutually exclusive with --server
  -i, --insecure            Ignore unsigned SSL-Certificates. Can be set via GNS3_INSECURE
  -k, --key-file string     Path to authentication keyfile. Can be set via GNS3_KEY_FILE or config.toml
  -o, --output string       Output format: [json, json-colorless, collapsed, yaml, toml, table, table-ascii]. Can be set via GNS3_OUTPUT (default "table")
  -s, --server string       GNS3v3 Server URL. Can be set via GNS3_SERVER or config.toml
      --user string[="~"]   User to select from the keyfile. Omit the value to open a fuzzy picker (--user), or pass a name (--user alice).
```

### SEE ALSO

* [gns3util cluster-control users](gns3util_cluster-control_users.md)	 - Manage control-plane users in etcd

###### Auto generated by spf13/cobra on 9-May-2026
