Verify Key Pair

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Verifies the validity of the key pair.

Since: 7.19

Security: Requires a valid admin user

Usage: POST /api/security/keypair/verify

Sample Usage:

curl -X POST -uadmin:password "http://localhost:8080/artifactory/api/security/keypair/verify" --header 'Content-Type: application/json' --data '@json-input'

Sample Response:

{

   "alias":"alias1",

   "pairName":"name1",



   "publicKey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkq……..0QIDAQAB\n-----END PUBLIC KEY-----",

   "pairType":"GPG"

}