Anonymous (no authentication)
SNODRA_SERVER_AUTH_MODE=off is the default. The hub accepts every connection, routes every request,
and keeps no notion of who sent it.
docker run --rm -p 7000:7000 -p 7001:7001 -e SNODRA_SERVER_OTLP_ENDPOINT= snodra/snodra-server:latestThat is the whole configuration. Services need no credential:
# Kotlinsnodra: messaging: hub: address: static://localhost:7000# RustSNODRA_SERVER_ADDRESS=http://localhost:7000# Go (snodra.FromEnv)SNODRA_SERVER_ADDRESS=localhost:7000When it is acceptable
Section titled “When it is acceptable”- Local development and tests.
- A network segment where only trusted workloads can reach port 7000, with no shared tenancy.
- A migration window, before you turn on
permissiveand thenenforce.
The hub logs a warning when the mode is off on a non-loopback gRPC address.
What is still checked
Section titled “What is still checked”Nothing about identity. Two behaviours differ from a secured hub:
- A
Registernaming an instance id held by another service replaces that session inoffmode (inpermissiveandenforceit is refused). hub.authStatus()carriesNONE; the topology has noauthKind,authenticatedServiceorexpiresAt.
TLS is independent: you can serve the gRPC port over TLS (SNODRA_SERVER_TLS_CERT/_KEY) and still
authenticate nobody. The handshake then protects the bytes, not the identity.
Next: static token, OAuth2 / OIDC JWT or mTLS.