To get ISREN working for GitLab, you must provide an Access Token. The Token can be provided in one of two places:
.env
fileauth
CLI param, see Options: Authentication
AUTH=example_token
isren https://gitlab.com/foo/bar --auth example_token
Note: The CLI parameter takes precedence over the environment variable
To generate a new GitLab token with the correct permissions, use the following steps:
- Click on your profile image in the top right of GitLab
- Go to your profile Settings
- Open the Access Tokens
- Create a new Personal Access Token with the
api
scope enabled.
Now you're prepared to use isren as an authenticated user! Use this token as a
CLI param or add it to your .env
file for automatic injection.