[Pulp-list] repo create with password?

Dennis Kliban dkliban at redhat.com
Tue Dec 22 17:48:32 UTC 2015


----- Original Message -----
> 
> 
> Hello,
> 
> Is there a way to add a password when the remote repo requires
> authentication? For example –

If you are talking about basic auth, then you can add to the feed URL. 

--feed=http://privateuser1:password@private.testsite.com/private/testrepo

If you upgrade to 2.7.1, you can pass these two extra arguments to the repo created commands: --basicauth-user and --basicauth-pass

> 
> 
> 
> pulp-admin rpm repo create --repo-id=private-client-tools
> --feed=http://privateuser1@private.testsite.com/private/testrepo
> 
> 
> 
> I’m currently on pulp-server-2.6.2-1.
> 
> 
> 
> Many thanks,
> 
> Patrick
> 
> 
> 
> 
> 
> 
> 
> This email and any files transmitted with it are confidential and intended
> solely for the use of the addressee. If you are not the intended addressee,
> then you have received this email in error and any use, dissemination,
> forwarding, printing, or copying of this email is strictly prohibited.
> Please notify us immediately of your unintended receipt by reply and then
> delete this email and your reply. Tyson Foods, Inc. and its subsidiaries and
> affiliates will not be held liable to any person resulting from the
> unintended or unauthorized use of any information contained in this email or
> as a result of any additions or deletions of information originally
> contained in this email.
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list