What is `CI_JOB_TOKEN` and what can it access?
IntermediateConceptGitLab CI
Answer
CI_JOB_TOKEN is a short-lived token created per job, valid only while the job runs. It lets the job pull from the project's package/container registries, trigger downstream pipelines and clone dependent repos. Access to other projects is controlled by the project's job token allowlist (Settings > CI/CD > Job token permissions), which should be limited to the projects that need it.
More on GitLab CI
How does GitLab CI/CD work at a high level?BeginnerWhat is a GitLab Runner and what executors exist?IntermediateWhat are the types of runners (shared, group, project) and tags?IntermediateHow do `rules:` work and how do they replace `only/except`?IntermediateWhat are workflow rules and how do they prevent duplicate pipelines?AdvancedHow do artifacts and cache differ in GitLab CI?Intermediate