What's the best practice of kuzzle.auth.createApiKey usage ?
- Call it outside the app to generate a token then put the token in env variable and use it (kuzzle.jwt = <get(env.token_variable>) inside cade ?
- or, call it in the code after the login to generate a token and set kuzzle.jwt = ?
- Or ?
Does someone have a link to a usage in actual code (the exemple in the documentation does not help me much).