Handle roles
Handle role related tasks.
The Role functionality allows for the combination of permissions into a single entity that can be assigned to user accounts and long lived sessions within organizations. When permissions within a role are modified, those changes are automatically applied to all accounts and sessions associated with that role.
Example:
role inspect 1
role list
role templates
role add myRole --template=organizationAdmin
role add myRole --template=organizationAdmin --perms vclgroup:r-
role update 1 --perms agent:rw --perms file:r- --perms vclgroup:-w --perms router:--
-h, --help help for roles
-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.