Ask Your Question
0

where is the password storage in Icehouse Swift?

asked 2015-03-05 03:08:01 -0500

djepnguyen gravatar image

Dear all, i have a question. i tried to search but still dont have the answer. 1. openstack iceshoue use the authentication/authorization : Devauth or Swauth 2. where has the password stored ? in previous version , i found in /etc/swift/auth.db hope to hear from you soon.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-03-05 03:30:48 -0500

  1. Default auth middleware suppose to be "TempAuth" .

    [pipeline:main]

    pipeline = catch_errors healthcheck cache ratelimit tempauth proxy-server https://github.com/openstack/swift/bl...

  2. The account/username/password of TempAuth is been write in the proxy-server.conf directly. https://github.com/openstack/swift/bl...

Hugo

edit flag offensive delete link more

Comments

Thanks so much

djepnguyen gravatar imagedjepnguyen ( 2015-03-05 19:35:35 -0500 )edit

in previous openstack Swift use Devauth as default. could you please give the difference of them ?

djepnguyen gravatar imagedjepnguyen ( 2015-03-05 19:37:19 -0500 )edit

I don't think Swift used Devauth as default ever.Unless you installed Swift via specific tools instead of from official repository or built by your own.

Hugo Kuo gravatar imageHugo Kuo ( 2015-03-06 09:34:01 -0500 )edit

thanks.because i read some documents , they said that Swift use the auth/authz by devauth and swauth.

djepnguyen gravatar imagedjepnguyen ( 2015-03-08 20:53:18 -0500 )edit
0

answered 2015-03-09 12:28:11 -0500

zaitcev gravatar image

updated 2015-03-09 12:30:43 -0500

In OpenStack installations, the default and main auth is Keystone (see http://docs.openstack.org/developer/k... ). Keystone stores credentials in main MySQL server of the cluster, or, alternatively, in a dedicated SQLite database. The swauth is used in standalone Swift installations without the rest of OpenStack. It stores credentials within Swift itself. The TempAuth is used in testing and in stub installations where Swift only has 1 app client. It uses passwords defined in proxy-server.conf.

edit flag offensive delete link more

Comments

thanks for your information.

djepnguyen gravatar imagedjepnguyen ( 2015-03-09 20:36:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-03-05 03:08:01 -0500

Seen: 148 times

Last updated: Mar 09 '15