k2rbac-api-server 0.1.0

Axum server scaffold for the standalone k2rbac/auth Rust service
docs.rs failed to build k2rbac-api-server-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

k2rbac-api-server

Standalone Axum server for the k2rbac authentication and RBAC service.

What it provides

  • HTTP endpoints for login, refresh, registration, password reset, email verification, and admin RBAC operations.
  • Integration with k2db through the k2db HTTP API.
  • Optional local or proxied UI mode in the same binary.
  • Telemetry hooks suitable for Ratatouille and Ringtail-based local observability.

Running

cargo run -p k2rbac-api-server -- serve \
  --listen-host 127.0.0.1 \
  --listen-port 4100 \
  --jwt-secret dev-secret \
  --k2db-base-url http://127.0.0.1:3000 \
  --k2db-api-key your-k2db-api-key

Use --ui-mode ui-local or --ui-mode ui-proxied to enable the optional UI surface.

License: GPL-3.0-or-later

Repository: https://github.com/frogfishio/k2db