Generate New Tokens for Federation Members

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

When the Federation members do not have a Federated base URL, or if the Federated base URL has changed, 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.

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.