Server
server -migrate applies datastore migrations and exits.
Owners, operators and the directory owner must be service identities with no
tenant, as the security model describes. The server refuses to start with a
user: owner, operator or directory owner, and a caller from inside a tenant
never holds their rights, even with the same id.
Datastore
Metrics
The server reads the standard OpenTelemetry variables. With no endpoint set it exports nothing.
Headers, timeout, compression and resource attributes come from their
standard variables too. See
Observability
for what is exported.
Admin UI
Register the client as a public client that uses PKCE, with the redirect URI
https://<latchkey host>/auth/callback. The UI requests the audience in
LATCHKEY_OIDC_AUDIENCE, and its access tokens must carry that audience and
the tenant claim. See
Security for the hosts the UI may
call.