Support CI_JOB_TOKEN auth in Environments API
What does this MR do and why?
This MR adds CI_JOB_TOKEN authentication support to Environments API. This allows users to manipulate project environments 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.
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Shinya Maeda