Skip to content

Support CI_JOB_TOKEN auth in Deployments API

Shinya Maeda requested to merge support-job-token-auth-in-deployment-api into master

What does this MR do and why?

This MR adds CI_JOB_TOKEN authentication support to Deployments API. This allows users to manipulate project deployments securely from pipeline jobs.

Related to Allow `CI_JOB_TOKEN` to interact with the deplo... (#414549 - closed)

Screenshots or screen recordings

Confirmed that Deployments API was able to be authenticated with CI-Job-Token. Here is an example of a job log.

379.log

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Shinya Maeda

Merge request reports

Loading