Create Hex Local Repository

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

This topic describes how to create a Hex local repository in Artifactory to securely deploy and manage your internal Hex packages. It provides instructions to create a local repository for efficient package management.

Prerequisites

The Mix client requires that you generate and upload an RSA key pair to Artifactory. For more information, see Generate and Upload RSA Key Pair.

To create a local repository to upload hex packages, follow these steps:

  1. Click Administration tab, and then click Repositories.

  2. Click Local from Create a Repository drop-down list.

    HexLocal1.png
  3. Click Hex in the Select Package Type dialog.

    HexRemote2.png
  4. Set Repository Key in the New Local Repository window.

  5. Under RSA Key Pair, select the RSA key you would like to use from the drop-down menu.

    This key is used for the protobuf encoding to communicate with your mix client.

  6. (Optional)  By default, Hex remote repositories are configured to point to the public Hex registry, and we automatically populate the upstream public key to decrypt Protobuf responses. If you wish to direct this remote repository to a self-hosted instance or a private Hex registry, update the URL and ensure you enter the corresponding public key of the registry’s URL.

  7. (Optional) For other Basic settings, refer to the Basic Settings for Local Repositories.

  8. (Optional) For Advanced settings, refer to the Advanced Settings for Local Repositories.

  9. Click Create Local Repository.

  10. (Optional) If you are using a private Hex.pm registry, add your secret for your organization in the Password/ Access Token field.

    HexLocal2.png