Search

vcli roles add

Add new role

Synopsis

Add a new role to the organization/system.

vcli roles add [Name] [flags]

Options

  -d, --description string      provide a description for the role
  -f, --filter stringToString   Filter based on attributes, '*' act as wildcard (default [])
  -h, --help                    help for add
  -n, --name string             Name
  -p, --perms stringArray       perms defines the set of read and write permissions that the role has access to for each resource
      --template string         use a template to populate permissions for the role
  -y, --yes                     Perform operation without confirmation

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203