Add an SSH key to environment variable like CI_BUILD_TOKEN
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
Git mainly uses SSH for authentication. In many cases using HTTPS authentication requires extra configuration and workarounds.
Currently gitlab adds CI_BUILD_TOKEN to the environment which can be used to authenticate. This means tools (like) composer must be properly configured to not use SSH as a transport.
Proposal
My proposal is to not only add a CI_BUILD_TOKEN, but also a CI_BUILD_KEY. This key could then be used by the build process to perform SSH authentication.
Permissions for the key would mirror permissions for the CI_BUILD_TOKEN.
Edited by 🤖 GitLab Bot 🤖