pulp / pulp-cli

https://docs.pulpproject.org/pulp_cli/
GNU General Public License v2.0
36 stars 42 forks source link

Add support for using Token as an authentication method #925

Closed decko closed 2 months ago

decko commented 6 months ago

Summary

Given we have the ability to set the headers to be sent along the request using the new --headers, if a Authorization header is found it should suppress the usage of HTTP Basic Authentication.

Examples

When using pulp --headers authorization:Bearer sometoken we should send the proper header Authorization: Bearer sometoken instead of using HTTP Basic Authentication.