# kumactl generate user-token

Generate User Token

# Synopsis

Generate User Token that is used to prove User identity.

kumactl generate user-token [flags]
1

# Examples


Generate token
$ kumactl generate user-token --name john.doe@example.com --group users --valid-for 24h

1
2
3
4

# Options

      --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")
1
2
3
4

# 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
1
2
3
4

# SEE ALSO

Last Updated: 8/22/2022, 3:23:49 PM