Documentation
¶
Overview ¶
Command auth is a runnable demonstration of every quicSQL authentication method and every authorization level. It starts an in-process server configured with a principal per method (no-auth, Unix peer-credentials, bearer, HTTP-basic password, mTLS, and the ed25519 challenge/response) and per-database grants at each level (none / read-only / read-write / admin), then connects with each credential and prints, as a matrix, which operations are allowed and which are denied — including the wrong-credential and wrong-level denial paths and the admin-only control plane.
go run ./examples/auth
Everything runs on loopback with a temp data directory removed on exit. It exits non-zero if any expectation fails, so it doubles as a smoke test.