Authenticating GitLab Enterprise Access Using PAT
Last updated
Last updated
To gain access to your GitLab Enterprise projects, you may choose to use a Personal Access Token (PAT) to authenticate iCR on your behalf. The steps are almost exactly the same as for GitLab Cloud using PAT.
Login into GitLab and hover over the sidebar to make it appear. Then, click on the User avatar icon at the top right of the sidebar.
The Preferences menu offers a number of configurable options. Again hover over the sidebar icon to have it reappear with new choices. PAT is managed under the Access tokens option.
The Personal access tokens page is where you can create a new PAT which will authorize iCR to access your repositories.
This opens a page where you set the scope for the token to enable iCR to access your repositories.
Enter a Token name to help you remember what this token is being used for. Also, set an Expiration date for the token. When the token expires, iCR will no longer be able to access your repositories. Then set the api scope value.
With that chosen, click on Create personal access token to create your token and its secret.
Copy the PAT now as it will not be displayed again. You will need to present it to the Navigator when you first select GitLab Enterprise as your preferred VCS, as described in Selecting Your Source Code.