Skip to content

Tsuru role add

tsuru role add

Create a new role for the specified context type.

Synopsis

Create a new role for the specified context type. Valid context types are:

  • global
  • app
  • team
  • user
  • pool
  • service
  • service-instance
  • volume
  • router
  • job

The [[--description]] parameter sets a description for your role. It is an optional parameter, and if its not set the role will only not have a description associated.

tsuru role add <role-name> <context-type> [--description/-d description] [flags]

Options

  -d, --description string   Role description
  -h, --help                 help for add

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

Auto generated by spf13/cobra on 16-Jan-2026