Project

Profile

Help

Story #6540

closed

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

Added by bmbouter over 4 years ago. Updated over 4 years 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
Actions #1

Updated by bmbouter over 4 years ago

  • Description updated (diff)
Actions #2

Updated by fao89 over 4 years ago

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

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 74 to Sprint 75
Actions #5

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 75 to Sprint 76

Added by Fabricio Aguiar over 4 years ago

Revision ae8d303d | View on GitHub

Enable token auth sync

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

Actions #6

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by fao89 over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #8

Updated by fao89 over 4 years ago

  • Sprint/Milestone set to 0.2.0

Also available in: Atom PDF