Skip to content

aegis-deploy

What runs on the Aegis clusters, and how it is set up. Argo CD will install from this repository; that is not wired up yet. The first piece is sign-in, on your own machine with Docker Compose: Keycloak with two groups, admin and read, and a script that creates users from a file.

Repository ci security

  identity/users.csv  --make users-->  Keycloak (realm "aegis")  --invite email-->  each new user
                                         groups: admin, read

What the realm sets up

  • Sign-in by email address; nobody can register themselves.
  • Passwords of at least 12 characters, and a lockout after repeated wrong ones.
  • Sign-ins and admin actions recorded; sign-in records kept for 30 days.
  • A browser sign-in client for the console, aegis-web, using PKCE with no stored secret.
  • The users script never handles passwords: each new user gets an invite email. Opening the link sets the password and confirms the address, so there is no second email.
  • The console's client carries only the four user-management roles, so aegis-web's People page can invite and move people with the admin's own token.

Run it (laptop, free)

You need Docker with Compose, Python 3.11+, and ports 8080 and 8025 free.

git clone https://github.com/debanjan0212/aegis-deploy && cd aegis-deploy
make up       # Keycloak and a test mail server
make users    # creates the users in identity/users.csv

Connects to

Repository How
aegis-infra Builds the cluster and Argo CD; Argo CD will install from here, once the cluster setup is written
aegis-web The console signs people in through this realm and manages them on its People page
aegis-pipelines Both its CI and security checks are the shared workflows
Aegis War Room Sign-in with roles is step 2 of the work the war room needs before it is split