Skip to main content

GitLab credentials

You can use these credentials to authenticate the following nodes:

Supported authentication methods

  • API access token
  • OAuth2 (Recommended)

Refer to GitLab's API documentation for more information about the service.

Using API access token

To configure this credential, you'll need a GitLab account and:

  • The URL of your GitLab Server
  • An Access Token

To set up the credential:

  1. In GitLab, select your avatar, then select Edit profile.
  2. In the left sidebar, select Access tokens.
  3. Select Add new token.
  4. Enter a Name for the token, like Otera integration.
  5. Enter an expiry date for the token. If you don't enter an expiry date, GitLab automatically sets it to 365 days later than the current date.
    • The token expires on that expiry date at midnight UTC.
  6. Select the desired Scopes. For the GitLab node, use the api scope to easily grant access for all the node's functionality. Or refer to Personal access token scopes to select scopes for the functions you want to use.
  7. Select Create personal access token.
  8. Copy the access token this creates and enter it in your Otera credential as the Access Token.
  9. Enter the URL of your GitLab Server in your Otera credential.

Refer to GitLab's Create a personal access token documentation for more information.