Project

Profile

Help

Story #6540

As an CollectionRemote user, I can configure auth_url and token to mimic how the CLI authenticates

Added by bmbouter 6 months ago. Updated 2 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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

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

Associated revisions

Revision ae8d303d View on GitHub
Added by Fabricio Aguiar 4 months ago

Enable token auth sync

https://pulp.plan.io/issues/6540 closes #6540

History

#1 Updated by bmbouter 6 months ago

  • Description updated (diff)

#2 Updated by fao89 5 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
  • Groomed changed from No to Yes
  • Sprint set to Sprint 74

#3 Updated by pulpbot 5 months ago

  • Status changed from ASSIGNED to POST

#4 Updated by rchan 5 months ago

  • Sprint changed from Sprint 74 to Sprint 75

#5 Updated by rchan 4 months ago

  • Sprint changed from Sprint 75 to Sprint 76

#6 Updated by Anonymous 4 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by fao89 3 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#8 Updated by fao89 2 months ago

  • Sprint/Milestone set to 0.2.0

Please register to edit this issue

Also available in: Atom PDF