Handle permissions
Handle permission related tasks.
Resources that have permissions:
geolocationtag, license, role, acmeaccount, file, fileversion, tag, plugingrpc, asnroute, deploylog, idp, domain, routertrace, cidrroute, deploy, org, agent, router, regexproute, command, perm, logentry, externalroute, sharedtoken, cidrtag, session, tagroute, customsession, vclgroup, invalidation, routingrules, routingplugin, certificatetls, gitrepo, account, rejectroute, geolocationroute, asntag, regexptag, configset, config, gitconfig, privatetoken
Example:
vcli perm inspect 1
vcli perm list
vcli perm add vcl --account 1 --read
vcli perm add domain --account 1 --write
vcli perm list -f name="vcl*"
vcli perm update 1 --write=false
vcli perm requirements agent,vclgroup,router
-h, --help help for permission
-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.