testing/cross_backend/backend_config.ts view source
BackendBootstrapConfig Auth-bootstrap configuration for a spawnable test binary. The runner
writes token to token_path before launching the child, then POSTs
bootstrap_path (default /api/account/bootstrap) with the token plus
the username / password to mint the keeper account and capture the
session cookie. After health-probe, the runner reads
daemon_token_path to load the binary's deterministic daemon token,
which default_cross_process_setup threads onto the per-test
TestFixture for _testing_reset calls and other keeper-credential
operations.
token_path
Path the binary reads for the bootstrap token (env: *_BOOTSTRAP_TOKEN_PATH).
stringtoken
Token text written to token_path before spawn.
stringusername
Username for the bootstrapped keeper.
stringpassword
Password for the bootstrapped keeper.
stringdaemon_token_path
Path the test binary writes its daemon-token JSON to on boot
(env: *_DAEMON_TOKEN_PATH). spawn_backend reads this file once
after the health probe succeeds and threads the token onto
BackendHandle.daemon_token for _testing_reset calls plus any
other admin/keeper-gated cross-process tests.
string