Expand description
GitLab project and group access tokens — mintable and revocable through the API, but with expiry that GitLab only accepts as a date. There is no such thing as a fifteen-minute GitLab token, so this engine keeps two clocks: it asks GitLab for the nearest possible date as a backstop, and holds the real deadline in the lease, where the reaper can enforce it to the second.
See docs/delegation/gitlab.md for the mechanism and
docs/delegation/setup/gitlab.md for the operator walkthrough.
Structs§
- Gitlab
Config - How the server authenticates to GitLab.
private_tokenis an Owner-level PAT (or an admin PAT for instance-wide work) and is never read back out. - Gitlab
Engine - Role
Config - What one consumer may mint.
Enums§
- Resource
- Whether a role mints a project- or group-scoped token. Group tokens reach
every project in the group, so prefer
Projectunless the consumer really needs the breadth.