Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.64 KB

sentrytool_privilege.md

File metadata and controls

59 lines (45 loc) · 1.64 KB

sentrytool privilege

privilege operations

Synopsis

privilege operations: list, grant or revoke privileges. Argument is a list of roles.

sentrytool privilege

Examples


sentrytool privilege grant -r r1 -s server1 -d db2 -t table1 -c columnt1 \
      -a insert
sentrytool privilege list r1
r1 = db=db1->action=all, \
     server=server1->db=db2->table=table1->column=column1->action=insert

Options

  -a, --action string     action
  -c, --column string     column name
  -d, --database string   database ame
      --grantoption       grantOption
  -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

Options inherited from parent commands

  -C, --component string   sentry client component
      --config string      config file (default is $HOME/.sentrytool.yaml)
  -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")
  -U, --username string    user name (default "akolb")
  -v, --verbose            verbose mode

SEE ALSO

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