3.7.3 Obtaining GitLab access tokens
A GitLab access token must be obtained before operating Git commands.
(1) Open the window for obtaining GitLab access tokens.
- Select "Edit profile" from the submenu displayed when the avatar icon is clicked.
- The "User settings" menu will appear. Select "Access Tokens".
- This will open the "Personal Access Tokens" window.
(2) Issue a GitLab access token.
Set the content of the following table then click “Create personal access token” to issue a GitLab access token.
(Table) GitLab access token settings
| Item | Description |
|---|---|
| Token name | Optional |
| Expiration date | Set an expiration date. The maximum period is one year. |
| Select scopes | Check only api |
(3) Save the issued GitLab access token.
The issued GitLab access token is displayed in “Your new personal access token”. If you navigate to another window, you will no longer be able to view the issued GitLab access token, so please save it in a memo.