Hi again! Another question I have, is related to the namespaces. What would be an example of categorization in namespaces? I have a use case in my application, when I have multi tenancy. Does it make sense to use a different namespace for each tenant? Can the namespaces be created dynamically? Is there an approach for dealing with multi-tenants?
One solution would be to use the Ory #cloud where you can easily create new projects on demand. Keto will be available EoM for everyone there 😉
Alternatively, if you just have a multi-tenant application that uses Keto, and you have full control of what goes into it, you could e.g. use a UUIDv5 with a per-tenant namespace UUID, or any other means of distinguishing tenants on a data level.
Keto namespaces are not isolated.
03/01/2022, 12:09 PM
That was what I was thinking. Having a per-tenant namespace UUID. However, I don’t think that namespaces can be created dynamically right? As I’ve seen, they need to be specified in the config file
03/01/2022, 2:52 PM
Yes they do need to be configured, but the config is hot-reloaded.
You however don't have to put them into separate namespaces anyways, as they are not isolated from each other