Skip to content

Tsuru token create

tsuru token create

Creates a new API token associated to a team.

Synopsis

Creates a new API token associated to a team.

tsuru token create [--id/-i token-id] [--team/-t team] [--description/-d description] [--expires/-e expiration] [flags]

Options

  -d, --description string   A description on how the token will be used.
  -e, --expires duration     The expiration for the token being created. A duration suffix is mandatory (s for seconds, m for minutes, h for hours, ...). 0 or unset means it never expires.
  -i, --id string            A unique identifier for the token being created.
  -t, --team string          The team name responsible for this token.
  -h, --help                 help for create

Options inherited from parent commands

      --target string   Tsuru server endpoint
      --verbosity int   Verbosity level: 1 => print HTTP requests; 2 => print HTTP requests/responses

SEE ALSO

  • tsuru token - Manage team tokens used to authenticate automations through Tsuru.
Auto generated by spf13/cobra on 16-Jan-2026