Download Primary Key

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Downloads the primary key.

Since: 7.19

Security: Requires a valid admin user

Usage: GET /api/v2/repositories/<repo-name>/keyPairs/primary/public

Sample Usage:

curl -X GET -uadmin:password "http://localhost:8080/artifactory/api/v2/repositories/debian-local/keyPairs/primary/public"

Sample Response:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Keybase OpenPGP v1.0.0
Comment: https://keybase.io/crypto
xo0EYFtBJQEEAL5J3YCUKGvdmZm4Pz4Lv+1sQGV7DXKg9FBN16iBPtkkb8OQOpm0
WKM4wxtaHVexY85b1fukPcQbwXruJsC7N561eErDbGI+e4oSKLuwuh36p61SXlb0
vEcJ1BQ9RvURNrOr9FZ/kmz6ZXF2BfZcNhKCvtb9FrCFHbdg1gz070J3ABEBAAHN
Gk9tcmkgWml2IDxvbXJpekBqZnJvZy5jb20+wq0EEwEKABcFAmBbQSUCGy8DCwkH
AxUKCAIeAQIXgAAKCRDiyYShXcZUR4DcBACmvtHnrMrvpIK+k0gomTG4yxuvyw+D
Pu1pQfBvcPx1ZgO9LAFOkZufsvIggcZFoT83Al5K+UM0ScE9B/mhRkAlWFCU/kI5
iHkmwVgquZY1gDngnNPDpGU6IFz7m+JY2dCh8h2Pv/L9RXGFz9Y4ap3TwMdESHyz
dctf4Xs+Vl2Ot86NBGBbQSUBBACra/j7LOgJ+cXnn8/H61y203/Kfvv94M8Ql1pl
bI8J+I1PrMGaUJV7skxFMKuAR6arwRhGQD1aXaum7lGHEMgXjQcH8XWYRRB2nHB6
OCb9WcBBU08TNeVL/33yIGvqUEhyBa+rg8LACzB1NLijnbMrAgOEjSFPtwoz/oWN
k4ElKQARAQABwsCCBBgBCgAPBQJgW0ElBQkPCZwAAhsuAKcJEOLJhKFdxlRHnCAE
GQEKAAYFAmBbQSUACgkQlcfAo4P7X+FsYwP3SjYhtFo6m+bPpNmWmb252R2EJbgG
2WqemuNWfd+TdUnS3m5/14AgDNeLWk6Wq2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