Get Key

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Retrieves public key by alias name.

Since: 2.8.1

Security: Admin only

Usage: GET api/v1/keys/gpg/{alias-name}

Request headers: N/A

Consumes: application/json

Sample Response

{
   "alias": "alias-name"
   "public_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----...-----END PGP PUBLIC KEY BLOCK-----",
}