You are browsing documentation for a version of Kuma that is not the latest release.

Looking for even older versions? Learn more.

kumactl generate user-token

Generate User Token


Generate User Token that is used to prove User identity.

kumactl generate user-token [flags]


Generate token
$ kumactl generate user-token --name --group users --valid-for 24h


      --group strings        group of the user
  -h, --help                 help for user-token
      --name string          name of the user
      --valid-for duration   how long the token will be valid (for example "24h")

Options inherited from parent commands

      --api-timeout duration   the timeout for api calls. It includes connection time, any redirects, and reading the response body. A timeout of zero means no timeout (default 1m0s)
      --config-file string     path to the configuration file to use
      --log-level string       log level: one of off|info|debug (default "off")
      --no-config              if set no config file and config directory will be created


Last Updated: 11/4/2022, 19:20:08 PM