Hi All, I am interested in learning about Keto cur...
# talk-keto
n
Hi All, I am interested in learning about Keto currently evaluating it for our internal Authorisation system and trying to install via docker setup. Config
Copy code
version: v0.8.0-alpha.2
 
log:
 format: json
 leak_sensitive_values: false
 level: debug
 
serve:
 read:
   host: localhost
   port: 4466
 write:
   host: localhost
   port: 4467
 
namespaces: 
 - accounts
 
#dsn: memory
dsn: <postgres://keto:keto@localhost:5432/keto>
Steps followed:
Copy code
export KETO_WRITE_REMOTE=localhost:4467
export KETO_READ_REMOTE=localhost:4466


$ keto status
neither flag --read-remote nor env var KETO_READ_REMOTE are set, falling back to 127.0.0.1:4466
SERVING
$ keto migrate up -c config/keto.yml
I am getting following error when I run
keto relation-tuple create config/myAccountEditableByTarak.json
Copy code
neither flag --write-remote nor env var KETO_WRITE_REMOTE are set, falling back to 127.0.0.1:4467
Error doing the request: rpc error: code = Unavailable desc = error reading from server: EOF
JSON
Copy code
{
  "namespace": "accounts",
  "object": "person-uuid-1",
  "relation": "owner",
  "subject_id": "person-uuid-1"
}
Also, I am not able to connect to REST API as well. IS there any additional configuration required for the setup?
For the specific error I had found the solution I had my namespace misconfigured, it should be
Copy code
- id: 0
  name: accounts
🙌 1