Description: Sets the secondary key for the repository that will be used as a backup key, in case the primary key has been removed.
Since: 7.19
Security: Requires a valid admin user
Usage: POST /api/v2/repositories/<repo-name>/keyPairs/primary
Sample Usage:
curl -X POST -uadmin:password "http://localhost:8080/artifactory/api/v2/repositories/debian-local/keyPairs/secondary" --data-binary 'key-name' --header 'Content-Type: text/plain'