Authenticating GitLab Cloud Access Using PAT
Last updated
Last updated
To gain access to your GitLab cloud-based projects, you need to authorize iCR to access them. One method is to use a Personal Access Token (PAT) to authenticate iCR on your behalf. Here is how that is done.
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 and also a brief Token description 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 cloud as your preferred VCS, as described in Selecting Your Source Code.