sorry for the repeated question, but as no one rea...
# talk-keto
f
sorry for the repeated question, but as no one reacted and some news maybe obscured my question earlier, but do you guys have anywhere what is the correct structure for the setup for configuring the namespaces and relations in the config file for keto? The example is just a file (.keto_namespace) but I can't find it or examples to it anywhere
m
No problem Daniel, sometimes questions get lost in the raging torrent that is a Slack chat, so don’t worry about asking again, Are you looking for something like the reference configuration? https://www.ory.sh/keto/docs/next/reference/configuration/ I think that is the closest example.
c
and here’s an example for the namespace config in the yml config file
Copy code
namespaces:
  - id: 0
    name: apples
  - id: 1
    name: oranges
s
you can either inline them like @crooked-monkey-27395 said, or put a
file://
URL that points to a separate file/directory containing namespace files that is not super well documented yet, but for the time being the namespace config is very minimal anyway so just inline it 😉
f
that's great, thanks marko and patrik! its safe to assume the "relation" is defined dynamically upon creation of the relation-tuples right?
👍 1
s
yes they are not yet required to be configured, but that will change eventually
f
thanks!