Description: Returns details of all the key pairs.
Since: 7.19
Security: Requires a valid admin user
Usage: GET /api/security/keypair
Sample Usage:
curl -X GET -uadmin:password "http://localhost:8080/artifactory/api/security/keypair"
Sample Response:
[{ "alias":"alias1", "pairName":"name1", "publicKey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkq……..0QIDAQAB\n-----END PUBLIC KEY-----", "pairType":"GPG" }, { "alias":"alias2", "pairName":"name2", "publicKey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkq……..0QIDAQAB\n-----END PUBLIC KEY-----", "pairType":"GPG" }]