Skip to content
dopusk

Access that is requested, approved, granted and revoked on time

dopusk is a self-hosted access lifecycle service for engineering teams. One catalog records who should have which access, until when and who approved it. Connectors bring Keycloak and GitLab to that state.

Apache-2.0 · self-hosted · early development: no release yet

dopusk web panel: an access request awaiting approval, the access catalog and the reconciliation report

Why dopusk

Access is handed out by hand

In teams of a few dozen people, access comes from a chat message, a group in the IdP, a member added in GitLab. Nobody remembers to take it back.

One source of truth

dopusk records who should have which access, until when and who approved it, and brings the target systems to that state.

Never in the sign-in path

If dopusk is down, granted access keeps working. Your tools sign in through the IdP as before.

One lifecycle, six steps

  1. Request

    Choose access in the catalog, set the duration, add a justification. One request carries several items.

  2. Approval

    The owner decides in one or two steps. Nobody approves their own request.

  3. Grant

    The worker adds the group or the member through a connector, automatically.

  4. Expiry or extension

    Access with a duration ends on its date. The holder gets a reminder and can extend it.

  5. Revocation

    An owner or an admin revokes access, or the holder gives it up. The connector removes it in the system.

  6. Offboarding

    One operation disables the accounts of a person and revokes all access they hold.

Features

Request and approve

  • Access catalog: systems and access with owners, approval classes and expiry rules.
  • Multi-item requests, for yourself or for someone else.
  • One or two approval steps. Privileged access can take two, by different people.
  • Notifications by email and in a messenger, each with one link to the decision.

Expire, extend, offboard

  • Grant and revoke run through connectors, automatically. Expiry, when set, is strict.
  • Reminders before expiry. The holder extends access or gives it up.
  • Onboarding creates the account once the first item is approved.
  • Offboarding disables the accounts and revokes all access in one operation.

Reconcile and audit

  • dopusk is the source of truth. Reconciliation compares it with each system.
  • Observe mode records drift. Enforce mode removes extra access and grants missing access again.
  • Append-only audit log, enforced by database roles and a trigger.
  • Prometheus metrics, alert rules and a Grafana dashboard ship with the chart.

Connectors

Keycloak

Groups, group roles, membership, accounts. Sign-in needs Keycloak 26.8.2 or newer.

GitLab

Members with expiry, users.

Connector kit

Add your own systems. Connectors are idempotent; errors are retryable or permanent.

How it runs

One image, one PostgreSQL database, one entry point: dopusk <command>

Architecture

Install

Local stand

Needs Bun 1.4 and Docker with Compose v2. The stand runs PostgreSQL, a Keycloak test realm, a mail catcher and a GitLab stub.

git clone https://github.com/Nottoad/dopusk.git && cd dopusk
bun install
bun run stand:up
bun run stand:seed

Quick start

Kubernetes

One Helm chart and one image on GHCR. The chart takes references to existing Secrets, not secret values. No release is tagged yet: the chart is published with the first one.

Installation guide

Docker Compose

The same three processes on one host, with the addresses and the secrets of the installation in one file.

Compose on one host

Documentation