I'm wondering, is there a way to secure keto-write...
# talk-keto
s
I'm wondering, is there a way to secure keto-write endpoint and prevent unauthorized users of creating/editing/deleting relation tuples?
b
s
@billions-leather-15882 yes, I saw oathkeeper but we have an issue there. Let's consider the following use case: A user wants to edit/create a relationship in ory keto. In order to do so, the request goes through the oathkeeper, right? The othkeeper rule oryketowrite would first check against keto if the user is allowed to send requests to keto-write/admin/relation-tuples. If it it's allowed, the request should then proceed to keto-write. However, this endpoint needs to receive some data. And this is the data that we need to be forwarded as welll but isn't forwarderd. So, from what I see oathkeeper wouldn't be a solution to protect keto write endpoint
mmm any suggestion on this?
w
Oathkeeper forwards the write request on to Keto so I'm not sure what data you are worried about not being forwarded? Can you clarify?