Get Key Pair

JFrog REST APIs

Content Type
REST API

Description: Returns the details of a key pair.

Since: 7.6.0

Security: Requires an authenticated user, or anonymous (if "Anonymous Access" is globally enabled).

Usage: GET /artifactory/api/security/keypair/{keyPairName}

Produces: application/json

Sample Request:

GET https://[JFrogPlatformURL]/artifactory/api/security/keypair/alpine-local-key
{
  "pairName": "alpine-local-key",
  "pairType": "RSA",
  "alias": "artifactory-alpine-local",
  "publicKey": "-----BEGIN PUBLIC KEY-----",
}