Set Key

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Sets the GPG keys for the repository.

Since: 7.19

Security: Requires a valid admin user

Usage: POST /api/v2/repositories/<repo-name>/keyPairs

Sample Usage:

curl -X POST -uadmin:password "http://localhost:8080/artifactory/api/v2/repositories/debian-local/keyPairs" --data-binary 'key-name' --header 'Content-Type: text/plain'