Skip to main content
Version: v0.6

keto check

keto check

Check whether a subject has a relation on an object

Synopsis

Check whether a subject has a relation on an object. This method resolves subject sets and subject set rewrites.

keto check <subject> <relation> <namespace> <object> [flags]

Options

  -f, --format string         Set the output format. One of table, json, and json-pretty. (default "default")
-h, --help help for check
-q, --quiet Be quiet with output printing.
--read-remote string Remote URL of the read API endpoint. (default "127.0.0.1:4466")
--write-remote string Remote URL of the write API endpoint. (default "127.0.0.1:4467")

Options inherited from parent commands

  -c, --config strings   Config files to load, overwriting in the order specified. (default [/home/circleci/keto.yml])

SEE ALSO

  • keto - Global and consistent permission and authorization server