Is there a reason why it's required to have two se...
# talk-keto
d
Is there a reason why it's required to have two separate ports on the same host for read/write when using Keto?
w
segregation of read / write operations (i would imagine at least 🙂 )
So. It solves one issue regarding security around permissions: having one port dedicated to reads and one port dedicated to writes would make locking down the writes trivial.
d
Ahhh that's understandable. For context, I'm working on a testcontainers module for myself as I find this simpler than using mocks (unless o can learn how to be better with mocking), so led to the question of exposing a single or two ports
h
@delightful-yak-60786 That's a great idea. It will be amazing if you can share the testcontainers example with keto! Looking forward for it.
d
@hallowed-area-82531 i can share (it's in Go for clarification), there seems to be an issue where the
/home/ory
doesn't seem to exist (I'm pulling from
oryd/keto:v0.11.1
) Gist: https://gist.github.com/adoublef/6ebfbd0bd6acfff2702bddca0e67de0b