# kumactl generate zone-token

Generate Zone Token

# Synopsis

Generate Zone Token that is used to prove identity of Zone egresses.

kumactl generate zone-token [flags]
1

# Examples

Generate token bound by zone
$ kumactl generate zone-token --zone zone-1 --valid-for 24h
$ kumactl generate zone-token --zone zone-1 --valid-for 24h --scope egress
1
2
3

# Options

  -h, --help                 help for zone-token
      --scope strings        scope of resources which the token will be able to identify (can be 'egress') (default [egress])
      --valid-for duration   how long the token will be valid (for example "24h")
      --zone string          name of the zone where resides
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: 4/4/2022, 9:12:31 AM