Set GPG Private Key

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Sets the default private GPG key that Artifactory uses to sign Debian, RPM, and ipk (Opkg) packages.

Security: Requires a valid admin user

Usage: PUT /api/gpg/key/private

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/private