SeekStorm icon indicating copy to clipboard operation
SeekStorm copied to clipboard

automatically set up auth

Open gabriel-v opened this issue 1 year ago • 0 comments

The readme suggests obtaining the server API key by reading the docker container console, but that is not something that can easily be automated. Reading & parsing logs is not something you'd want to do in a simple docker-compose build.

There is also no mention of where the index ends up on disk, as to mount a volume to that location.

I see the only env the server sets is the master key secret const default 1234

And that secret is only passed through sha3 to produce the master api key that the API backend checks for.

So the default API key should be A6xnQhbz4Vx2HuGl4lXwZ5U2I8iziLRFnhP5eNfIRvQ= right?

And in automation scripts I'd have to have some kind of logic that picks a random key, recreates the hash and base64 encoding to actually be able to use the server, right?

gabriel-v avatar Feb 07 '25 19:02 gabriel-v