Generate New Tokens for Federation Members

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

After changing the base URL or Federated base URL, the administrator must generate a new pairing token and pair the source and target JPDs.

Important

Make sure to perform this procedure on each remote Federation member that uses the legacy Federation service. This procedure does not need to be performed on members that use the Artifactory Federation Service (RTFS).

To generate new tokens:

  1. Generate a new token from the source JPD using the Create Pairing Token Platform REST API.Create Pairing Token

  2. Pair the target JPD to the source JPD using the new token with the Initiate Pairing Platform REST API.Initiate Pairing

  3. Replace the base URL (or Federated base URL) by executing the following POST request against the target JPD: api/federation/replaceUrl with the following body:

    {  
        "oldBaseUrl": "http:/<old base URL>/artifactory",  
        "newBaseUrl": "http://<new base URL>/artifactory"
    }
  4. Continue with After Changing the Base URL.