Re: Question about user's key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/20/2017 03:52 AM, Chen, Wei D wrote:
Hi,

I have read through some documents about authentication and user management about ceph, everything works fine with me, I can create
a user and play with the keys and caps of that user. But I cannot find where those keys or capabilities stored, obviously, I can
export those info to a file but where are they if I don't export them out?

Looks like these information (keys and caps) of the user is stored in memory? but I still can list them out after rebooting my
machine. Or these info are persisted in some type of DB I didn't aware?

Can anyone help me out?

Authentication keys and caps are kept by the monitor in its store, either a leveldb or a rocksdb, in its data directory.

The monitor's data directory are, by default, in /var/lib/ceph/mon/ceph-X, with X being the monitor's id. The store is within that directory, named `store.db`.

The store in not in human-readable format, but you can use ceph-kvstore-tool to walk the keys if you want. Please note that, should you want to do this, the monitor must be shutdown first.

  -Joao

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux