Authentication with GitLab
The tool takes a few sources into consideration in the following order when authenticating with GitLab:
--gitlab-tokencommandline flag- netrc in your home folder
- Vault token specified via
--gitlab-token vault://<path>#<field>with environment variableVAULT_ADDRset to base url for vault, and eitherVAULT_TOKENset or~/.vault-tokenpresent GITLAB_TOKENenvironment variable
For the project detection, all git remote URLs of the repository are tried, and the first URL that returns a valid API
response is used. In case you cloned via SSH it tries to convert it to the HTTPs host automatically. If the ssh URL
differs from the HTTPs url you should specify it manually using the --gitlab-base-url, without protocol e.g.
--gitlab-base-url git.example.com