Project

Profile

Help

Story #6540

Updated by bmbouter almost 3 years ago

## 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 

 1. Add `auth_url` and `token` to the CollectionRemote 
 2. Update the sync machinery to authorize with the `auth_url` during content sync 

Back