Initiate Pairing

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Initiates the pairing between the services. This endpoint can be per use case or one for all (or some) use cases.

Since: 7.29.7

Authorization: Requires admin permissions.

Usage: PUT /<svc>/api/v1/service_trust/pairing/{use-case}

Note

  • use_case = the use case for which to create the pairing token

  • pairing_token = the pairing token the source service will use to initiate the pairing with the target. This is the same pairing token that was created by the target of the pairing.

Content-Type: application/json Produces: application/jsonSample Usage:

PUT /artifactory/api/v1/service_trust/pairing/{federated-repo/repokey}
{
  "pairing_token": "<pairing-token>"
}

200
{
  "message": "Trust with Artifactory was established successfully"
}

Error Response Codes:

404 Not found - the specified use case is unknown to the service