Remote Credentials

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

You can configure authentication for remote repositories by specifying remote credentials. You can use either one of the following methods to identify yourself:

  • Username and password

  • Personal Access Token (PAT)

The advantage of using PATs is that you can strengthen your Artifactory security practices by using them for authentication, instead of using your primary credentials. For example, you can create a PAT in GitHub and then configure your remote Docker repository to point to GitHub and authenticate it by using the PAT. You can use PATs for any package type.

To specify remote credentials:

  1. In the Administration module, select Repositories.

  2. Click the Remote tab and open the relevant remote repository.

  3. In the Basic tab, enter your remote credentials in the following fields:

    Remote-repo_remote-credentials.png
  4. Use one of the following methods to authenticate yourself when accessing this remote proxy:

    1. User name and password:

      1. Under Remote Authentication, enter a user name in the User Name field.

      2. Enter a password in the Password/Access Token field.

    2. Personal Access Tokens (PAT) used for HTTP authentication (Artifactory 6.18 and later):

      1. Create the PAT in the service provider and copy the PAT to the clipboard.

      2. In Artifactory, paste the PAT into the Password/Access Token field.

      3. Enter a username in the Username field. When a PAT is used for authentication, an arbitrary username can be entered into this field (not applicable for npmjs), but the field must not be left empty.

        Note

        To access the npm registry, you must pass a valid npm registry username and generated PAT token. For more details, see this Knowledge Base article.

  5. Enter the SSL/TLS certificate used for authentication to the remote resource for which this repository is a proxy.

    Tip

    Click Test to verify the certificate.

  6. Click Save.