Generate a Personal Access Token in GitHub Enterprise

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

This topic describes how to generate a personal access token in GitHub Enterprise that is needed for authentication when using a Go remote repository to proxy your private GitHub Enterprise registry.

To generate a personal access token in GitHub Enterprise:

  1. Log in to your GitHub Enterprise account.

  2. Click your profile photo in the upper-right corner and select User settings from the menu.

  3. From the sidebar menu on the left, click Developer settings.

  4. Select Personal access tokens > Tokens (classic).

    generate_PAT_in_GHE.png
  5. Click Generate new token.

  6. [optional] In the Note field, add a description.

  7. In the Expiration field, configure when the personal access token will expire [recommended].

  8. In the Select scopes field, select the repo checkbox to assign this set of permissions to the personal access token.

    GHE_create-PAT.png
  9. [optional] Select additional permissions, if required by your environment.

  10. Click Generate Token.