revoke privilege
Revoke one or several privileges from a role. Privileges can be specified either using options or using sentry-style privilege specification. Any specification in the command-line override options.
Multiple privileges may be set at the same time.
sentrytool privilege revoke
$ sentrytool privilege revoke -s server2 -r admin \
'db=db4->table=mytable->action=insert' \
'db=db5->table=mytable->action=remove'
-a, --action string action
-c, --column string column name
-C, --component string sentry client component
--config string config file (default is $HOME/.sentrytool.yaml)
-d, --database string database ame
--grantoption grantOption
-H, --host string hostname for Sentry server (default "localhost")
-J, --jstack show Java stack on for errors
-P, --port string port for Sentry server (default "8038")
-r, --role string role name
--scope string Scope
-s, --server string server name
--service string service name
-t, --table string table name
-u, --uri string URI
-U, --username string user name (default "akolb")
-v, --verbose verbose mode
- sentrytool privilege - privilege operations