← Back to team overview

openstack team mailing list archive

[Swift] Auth problem



I build a swift server with default tempauth accourding to
http://docs.openstack.org/developer/swift/development_saio.html. And my
problem is about accounts.

In the conf, here are first four accounts:

use = egg:swift#tempauth
user_admin_admin = admin .admin .reseller_admin
user_test_tester = testing .admin
user_test2_tester2 = testing2 .admin
user_test_tester3 = testing3

   1. I got "user_<login1>_<login2> = <password> <privileges>" from
   but what's different from login1 and login2?
   2. Another question is what is purpose for writing data (those four
   accounts) in conf files? If I create a new account and restart relevant
   service, what will happen on that data about new account?
   3. I have read
   http://www.stephenbroeker.com/2012/03/14/swift-rest-api-example/ and
   To create a new account is curling "PUT /v1/<account> HTTP/1.1". Is there
   any other way to create a new account, like using swift and swift-* command?

Does I miss some basic documentation or wiki?

Follow ups