Getting started
Bring Keydra up against the local Redis and Valkey the repository ships, create the first administrator, and sign in.
Running Keydra for the first time#
Start Keydra and the two local targets the repository ships, so there is something to connect to before anything is configured.
-
Podman, with rootless containers working.
-
Java 21 and Node 24.19.0, if you are running from source rather than from the image. The repository ships
./mvnw; do not use a system Maven.
-
Start the local targets and Keydra’s own PostgreSQL:
podman play kube deploy/keydra-dev.yamlThis publishes Redis on
6479, Valkey on6480, PostgreSQL on5442, a Redis for Keydra’s own store on6481, and ClickHouse on8223. The ports are shifted off the defaults so the pod starts on a machine that already runs a Redis or a PostgreSQL. -
Start the backend:
cd backend && ./mvnw quarkus:dev -
Start the frontend, in a second terminal:
cd frontend && nvm use && yarn install && yarn dev -
Open http://localhost:9000.
The backend answers its own questions without the interface:
curl -s http://localhost:8181/api/v1/about
curl -s http://localhost:8181/q/health/readyCreating the first administrator#
An instance with no accounts offers to make one instead of asking you to sign in. The endpoint that does it closes the moment any account exists, so this is a one-time opportunity rather than a door left open.
-
Keydra is running and reachable.
-
No account has been created on this instance yet.
-
Open Keydra. Because there are no accounts, the page reads Set up Keydra rather than Sign in to Keydra.
-
Enter a Username.
-
Enter a Password, and the same one again under Repeat the password. The form states the minimum length; it enforces no composition rules, because composition rules make passwords worse.
-
Optionally expand Name and email (optional). An email address is what a password-reset link would be sent to later.
-
Click Create the administrator.
You are signed in, and the whole navigation is available: the first account holds the
built-in admin role, which carries every permission.
Signing in#
-
An administrator has given you an account, or an identity provider is configured and your account there is mapped to a group in Keydra.
-
Open the address you were given.
-
To sign in with a Keydra account, enter your Username and Password and click Sign in.
-
To sign in through a provider, use the button under Or sign in with. It reads Continue with and the provider’s name.
The masthead shows your username, and the navigation offers the pages your grants allow. A page you cannot reach is not shown; the backend refuses the request regardless, so a hidden link is a courtesy rather than the control.
Repeated failures are throttled. If the form says Too many sign-in attempts, wait a few minutes. The counter survives a restart, and it counts by account and by network — see Sign-in protection.