Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.47 KB

sentrytool_privilege_revoke.md

File metadata and controls

52 lines (39 loc) · 1.47 KB

sentrytool privilege revoke

revoke privilege

Synopsis

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

Examples


  $ sentrytool privilege revoke -s server2 -r admin \
    'db=db4->table=mytable->action=insert' \
    'db=db5->table=mytable->action=remove'

Options inherited from parent commands

  -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

SEE ALSO

Auto generated by spf13/cobra on 14-Dec-2016