Set GPG Private Key

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

Since: 3.3

Notes: Requires Artifactory Pro

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.

Security: Requires an admin user

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The GPG private key content in PEM/PGP format.

The GPG private key content

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Choose an example:
text/plain
application/json