Hello Guys:

     I am working with ceph nowadys and i want to setup a system which


     includes a web page to create the ceph object storage user.


     So, i tried to use Admin Ops API to fulfill my needs. However, if i use


      GET /admin/usage?format=json HTTP/1.1
Host: ceph-server     it will return 403 access denied.


     Than, i tried to use
GET /admin/usage?format=json HTTP/1.1 Host: ceph-server Authorization: AWS 
{access-key}:{hash-of-header-and-secret}     I used the key of client.user to 
represent access-key
     
     and get the hash-of-header-and-secret accordingly.


     However, it still  returns 403 access denied.


     Can anyone explain the method to deal with Admin Ops API, thanks!




------------------
Hui Jiang
East China University of Science and Technology
130 MeiLong Rd. Shanghai, China 200237
Mobile +86 13774493120
E-mail hji...@foxmail.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to