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 😉
steep-lamp-91158
03/01/2022, 9:14 AM
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.
l
lively-beard-47107
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
s
steep-lamp-91158
03/01/2022, 2:52 PM
Yes they do need to be configured, but the config is hot-reloaded.
steep-lamp-91158
03/01/2022, 2:53 PM
You however don't have to put them into separate namespaces anyways, as they are not isolated from each other