[Pulp-list] What is the best way to script our authentication?

Michael Hrivnak mhrivnak at redhat.com
Wed Nov 6 14:14:19 UTC 2013


Caoilte,

If you're using our command-line interface, you should use its "login" feature ($ pulp-admin login -u yourusernamehere). This gives you a client-side SSL certificate that automatically gets used by future commands. If you're using our REST API directly, you can see authentication details here:

http://pulp-dev-guide.readthedocs.org/en/pulp-2.2/integration/rest-api/authentication.html

Michael


----- Original Message -----
From: "Caoilte O'Connor" <caoilte at gmail.com>
To: pulp-list at redhat.com
Sent: Monday, November 4, 2013 9:03:36 AM
Subject: [Pulp-list] What is the best way to script our authentication?

Hi, 
I'm working on some scripts that will use pulp to upload RPMs and copy them between repositories. 

Is there a better way to authenticate than specifying a password as a command line argument? (eg long lasting certs) 

Regards 

Caoilte 

_______________________________________________
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