Hello, I'm trying to setup Keto locally, following...
# talk-keto
a
Hello, I'm trying to setup Keto locally, following this guide. And it tries to read namespaces using Ory Permissions Language, but cannot parse my namespaces file. Here are the logs I have:
Copy code
$ keto serve --config keto.yml
INFO[2023-01-18T16:30:58+01:00] No tracer configured - skipping tracing setup  audience=application service_name=Ory Keto service_version=v0.10.0-alpha.0
WARN[2023-01-18T16:30:58+01:00] could not infer format from file extension    audience=application error=map[message:expected one of [.yaml, .yml, .json, .toml] but got .ts stack_trace:stack trace could not be recovered from error type stringsx.errUnknownCase] file_name=/Users/..../keto/namespaces.keto.ts service_name=Ory Keto service_version=v0.10.0-alpha.0
DEBU[2023-01-18T16:30:58+01:00] Checking if legacy migration table exists.    audience=application migration_table=schema_migration service_name=Ory Keto service_version=v0.10.0-alpha.0
My keto configuration:
Copy code
dsn: memory
log:
  level: trace
namespaces: file:///Users/.../keto/namespaces.keto.ts
Thanks in advance for the help
s
you have to use
namespaces: {location: file://...
a
Indeed, ty