---
id: "gitlab_cicd_job_token"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets"]
langs: ["common"]
quality: 70
url: "https://registry.apicrafter.io/datatype/gitlab_cicd_job_token"
---

# GitLab CI/CD job token (`gitlab_cicd_job_token`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Short-lived token that GitLab creates for each CI/CD job (CI_JOB_TOKEN) to call the API and fetch artifacts and packages during the job. GitLab gives these tokens the prefix glcbt-, which cannot be configured. GitLab does not document the length; the regexp follows the gitleaks rule (one to five letters or digits, an underscore and 20 characters).

- Parent datatype: `access_token`
- Personal data (PII): no
- Categories: Secrets and credentials (passwords, keys, tokens) (secrets)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^glcbt-[A-Za-z0-9]{1,5}_[A-Za-z0-9_-]{20}$
```

## Examples

- `glcbt-` (invalid example) — Prefix without the token

## Supported by tools

- `gitguardian`
- `githubsecretscanning`
- `gitleaks`

## Sources

- doc: <https://docs.gitlab.com/security/tokens/>
- other: <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml>

## Quality

Score 70/100. Missing: examples, mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/gitlab_cicd_job_token.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/gitlab_cicd_job_token.yaml>
