Handle permissions
Handle permission related tasks.
Resources that have permissions:
account
acmeaccount
agent
asnroute
asntag
basicinvalidationrequest
certificatetls
cidrroute
cidrtag
command
config
configset
customsession
deploy
deploylog
domain
externalroute
file
fileversion
geolocationroute
geolocationtag
gitconfig
gitrepo
idp
invalidation
license
logentry
org
perm
plugingrpc
privatetoken
regexproute
regexptag
rejectroute
role
rollingupgrade
router
routertrace
routingplugin
routingrules
session
sharedtoken
tag
tagroute
vclgroup
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.