Hi everyone, Could someone help me with
# spicedb
d
Hi everyone, Could someone help me with zed cli sample commands to read relationships in a spicedb cluster
v
hey! 👋 you want to use
zed relationship read --help
to get a sense of what you can do with it. Example:
zed relationship read resource:resA viewer resource
d
is there a way to read or print all relationships. Trying to use a wildcard * with no luck.
v
you cannot read all relationships in the system, you have to specify at least one parameter in the filter. You can use a "prefix" like over the
object_id
and omit every other parameter
you can also use
zed backup create
to create a backup of the system and then
zed backup parse-relationships
to read all the rels in the system
d
Great. This works. Thanks a lot
84 Views