CI/CD job token

A short-lived token GitLab creates for each job, in CI_JOB_TOKEN, that lets the job call GitLab's API, registries and package registries.

In more detail

The token is valid only while the job runs and has the permissions of the user who started the pipeline, limited to the endpoints that accept it. Registries take it with the user name gitlab-ci-token. GitLab masks it in job logs.

Related terms

Taught in

References

Certification courses