Upload the GPG signing key to Distribution

DISTRIBUTION: How to create and sign a release bundle with a GPG key

AuthorFullName__c
DaYoun Kang
articleNumber
000006154
FirstPublishedDate
2024-07-21T07:27:05Z
lastModifiedDate
2025-05-21
VersionNumber
2
Using the “Upload GPG Signing Key for Distribution” REST API here, upload the above key pair to Distribution to sign release bundles.
root@dd4846e7fd13:~# curl -uadmin:password  -H "Accept: application/json" -H "Content-Type: application/json" -X PUT "localhost:8082/distribution/api/v1/keys/gpg" -T gpg.json


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5464  100    60  100  5404     51   4646  0:00:01  0:00:01 --:--:--  4694^[[C


{"message":"Set PGP public & private key","status_code":200}