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

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
Request
Choose access in the catalog, set the duration, add a justification. One request carries several items.
Approval
The owner decides in one or two steps. Nobody approves their own request.
Grant
The worker adds the group or the member through a connector, automatically.
Expiry or extension
Access with a duration ends on its date. The holder gets a reminder and can extend it.
Revocation
An owner or an admin revokes access, or the holder gives it up. The connector removes it in the system.
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>
browser --HTTPS--> api --SQL--> PostgreSQL <--SQL-- worker --> IdP (accounts, groups)
| +------> GitLab
+-OIDC--> IdP (sign-in only) +------> messenger
apiandworkertalk only through the database.- Only
workerreaches external systems and holds connector secrets. The database stores no secrets. - State change, audit record and job are written in one transaction.
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:seedKubernetes
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.
Docker Compose
The same three processes on one host, with the addresses and the secrets of the installation in one file.