Set GPG Public Key

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Sets the default public GPG key that Artifactory provides to Debian, RPM, and Opkg clients to verify packages.

Security: Requires a valid admin user

Usage: PUT /api/gpg/key/public

Note that when the GPG key is provided as part of the JSON payload and not in the request header, you need to add the --data-binary flag to the call.

Produces: text/plain

Since: 3.3

Sample Usage:

PUT /api/gpg/key/public