<div dir="ltr">Thanks, Adrian! I have no questions any more.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 12:36 AM, Adrian Smith <span dir="ltr"><<a href="mailto:adrian@17od.com" target="_blank">adrian@17od.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Kun,<br>
<div class="im"><br>
> I got "user_<login1>_<login2> = <password> <privileges>" from<br>
> <a href="http://www.stephenbroeker.com/2012/03/28/openstack-swift-tempauth-module/" target="_blank">http://www.stephenbroeker.com/2012/03/28/openstack-swift-tempauth-module/</a>,<br>
> but what's different from login1 and login2?<br>
<br>
</div>Perhaps the "login1", "login2" labels is what's causing your<br>
confusion. The format of the proxy config entries for tempauth is<br>
actually,<br>
<br>
  user_<account>_<username> = <password> <privileges><br>
<br>
In the SAIO examples we see, "user_test_tester = testing .admin". In<br>
this case the account name is "test", username "tester" and password<br>
"testing". This user is also an administrator for the account.<br>
<br>
For tempauth there's no further action required to define an account.<br>
<div class="im"><br>
> Another question is what is purpose for writing data (those four accounts)<br>
> in conf files? If I create a new account and restart relevant service, what<br>
> will happen on that data about new account?<br>
<br>
</div>Adding another account to the config file and/or restarting the<br>
services has no effect on data belonging to existing accounts.<br>
<div class="im"><br>
> I have read <a href="http://www.stephenbroeker.com/2012/03/14/swift-rest-api-example/" target="_blank">http://www.stephenbroeker.com/2012/03/14/swift-rest-api-example/</a><br>
> and<br>
> <a href="http://docs.openstack.org/api/openstack-object-storage/1.0/content/storage-account-services.html" target="_blank">http://docs.openstack.org/api/openstack-object-storage/1.0/content/storage-account-services.html</a>.<br>

> To create a new account is curling "PUT /v1/<account> HTTP/1.1". Is there<br>
> any other way to create a new account, like using swift and swift-* command?<br>
><br>
> Does I miss some basic documentation or wiki?<br>
<br>
</div>When using tempauth this command is unnecessary. An account is created<br>
by simply adding it to the proxy config file as described above.<br>
<span class="HOEnZb"><font color="#888888"><br>
Adrian<br>
</font></span></blockquote></div><br></div>