<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Thanks very much Anita. According to the Gerrit documentation [1], there is a command to set the http password for a given account. It does require administrator privileges though.
<div><br>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>
<div>set-account [--full-name <FULLNAME>] [--active|--inactive] \</div>
</div>
<div>
<div>            [--add-email <EMAIL>] [--delete-email <EMAIL> | ALL] \</div>
</div>
<div>
<div>            [--add-ssh-key - | <KEY>] \</div>
</div>
<div>
<div>            [--delete-ssh-key - | <KEY> | ALL] \</div>
</div>
<div>
<div>            [--http-password <PASSWORD>] <USER></div>
</div>
</blockquote>
<div>
<div><br>
</div>
<div>Ryan</div>
<div><br>
</div>
<div>[1] <a href="https://review.openstack.org/Documentation/cmd-set-account.html">https://review.openstack.org/Documentation/cmd-set-account.html</a></div>
<div><br>
<div>
<div>On Aug 8, 2014, at 9:05 PM, Anita Kuno <<a href="mailto:anteaya@anteaya.info">anteaya@anteaya.info</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">On 08/08/2014 11:57 AM, Ryan Hsu wrote:<br>
<blockquote type="cite">Hi All,<br>
<br>
Does anyone know if it’s possible to set up an http password for a 3rd party CI account? We are looking to use some of the Gerrit REST API operations that require authentication but according to this page [1], our account needs to have a Gerrit http password
 set up. As far as I know, our CI account was only given access to Gerrit via ssh keys meaning we would have to use the command line API.<br>
<br>
-Ryan<br>
<br>
[1] <a href="https://urldefense.proofpoint.com/v1/url?u=http://gerrit-review.googlesource.com/Documentation/rest-api.html%23authentication&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=0GxzU7fJvvhFTHF4JHrlbg%3D%3D%0A&m=yGjiRIfc0ONkg1KETfop%2Fw5QXjlII51Sf%2Fse0CNZp18%3D%0A&s=7b4cd6432bd1b52110fffad9345f94a1d31ca9a9817bd137e532c7e8a0c56a43">
https://urldefense.proofpoint.com/v1/url?u=http://gerrit-review.googlesource.com/Documentation/rest-api.html%23authentication&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=0GxzU7fJvvhFTHF4JHrlbg%3D%3D%0A&m=yGjiRIfc0ONkg1KETfop%2Fw5QXjlII51Sf%2Fse0CNZp18%3D%0A&s=7b4cd6432bd1b52110fffad9345f94a1d31ca9a9817bd137e532c7e8a0c56a43</a><br>
<br>
<br>
<br>
_______________________________________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.openstack.org</a><br>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra<br>
<br>
</blockquote>
Hi Ryan:<br>
<br>
Third Party CI accounts don't have access to the gui, only access via ssh.<br>
<br>
I have not looked into setting an http password via ssh, but that would<br>
be the only possibility for third party ci accounts as far as I know.<br>
<br>
In short, I don't know if this is possible. I will add it to my list of<br>
things to look at or to let you know about if I happen to fall over this<br>
information. In the meantime if someone else reading this email has<br>
become aware of the answer, do speak up.<br>
<br>
Thanks Ryan,<br>
Anita.<br>
<br>
_______________________________________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.openstack.org</a><br>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra<br>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>