Description: Sets the private key that Artifactory will use to sign Debian and ipk 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