Actions
Story #6540
closedAs an CollectionRemote user, I can configure auth_url and token to mimic how the CLI authenticates
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 76
Quarter:
Description
Motivation¶
The current CollectionRemote options are documented here: https://pulp-ansible.readthedocs.io/en/latest/restapi.html#operation/remotes_ansible_collection_create
While this sync's collections from galaxy.ansible.com correctly it lacks the ability to be configured with auth_rul
and token
and therefore cannot authorize correctly from cloud.redhat.com for example.
The CLI docs on how this works are here https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-client
Solution¶
- Add
auth_url
andtoken
to the CollectionRemote - Update the sync machinery to authorize with the
auth_url
during content sync
Actions
Enable token auth sync
https://pulp.plan.io/issues/6540 closes #6540