Summary
memcore-server --help advertises an auth layer: --require-auth, --auth-token-store <file> (described as "one hash:json-principal per line"), and --policy. In practice there is no documented, working way to provision a token, so a self-hoster cannot actually turn --require-auth on.
What I hit
- Following the documented format, a file with
hash:json-principal lines makes the engine fail to start with a TOML parse error. So the file is parsed as TOML, not the per-line format the help describes.
- Switching to TOML, the engine boots and logs
loading token store, but no token I add authenticates. Every request comes back UNAUTHENTICATED: invalid bearer token, regardless of the entry shape I try.
The flags exist and the engine clearly wants a token store, but the schema that registers a usable token is not specified anywhere I can find.
What would unblock self-hosters
- Document the
--auth-token-store file schema: the exact key form and the value structure (fields and types).
- Provide a supported way to mint or add a token: an admin subcommand, or at least one worked example entry that authenticates.
- Fix the
--help text if the hash:json-principal description is stale, since following it literally does not parse.
Environment
memtrace 0.6.46, macOS arm64. Local self-hosted MemDB, community license.
Summary
memcore-server --helpadvertises an auth layer:--require-auth,--auth-token-store <file>(described as "onehash:json-principalper line"), and--policy. In practice there is no documented, working way to provision a token, so a self-hoster cannot actually turn--require-authon.What I hit
hash:json-principallines makes the engine fail to start with aTOML parse error. So the file is parsed as TOML, not the per-line format the help describes.loading token store, but no token I add authenticates. Every request comes backUNAUTHENTICATED: invalid bearer token, regardless of the entry shape I try.The flags exist and the engine clearly wants a token store, but the schema that registers a usable token is not specified anywhere I can find.
What would unblock self-hosters
--auth-token-storefile schema: the exact key form and the value structure (fields and types).--helptext if thehash:json-principaldescription is stale, since following it literally does not parse.Environment
memtrace 0.6.46, macOS arm64. Local self-hosted MemDB, community license.