eaaltonen
(Eero Aaltonen)
May 25, 2026, 8:22am
1
I want to upload signatures to my collection and it seems I have to enable collection signing before that.
The instructions at Enabling collection signing - Galaxy NG instruct to “Create a signing service”, etc…
I however don’t want any automatic signing. I only want to sign manually with key I have on my smart card whenever I make a release. I already have a .asc detached signature ready to go. How can I enable collection signing and upload the signatures?
sivel
(sivel)
May 26, 2026, 2:19pm
2
You can manually upload signatures as described within these API docs:
https://pulpproject.org/pulp_ansible/restapi/#tag/Content:-Collection_Signatures/operation/content_ansible_collection_signatures_create
Although this must be handled separately from the ansible-galaxy collection publish step.
Additionally there is other additional information that must be retrieved from the API after publishing in order to make the request described above.
Here is an example galaxy-ng-test-container/playbooks/playbook.yml at 82d673db3a81056fa7a83aaf5f16676a94d23c5b · ansible/galaxy-ng-test-container · GitHub