how to get hash-of-header-and-secret

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

 



 hi,
    I want to konw how to get the  hash-of-header-and-secret, i read the http://ceph.com/docs/master/radosgw/s3/authentication/ , but i still not understand , I hope I can get example . if i want PUT a bucket for the user
{ "user_id": "johndoe",
  "rados_uid": 0,
  "display_name": "John Doe",
  "email": "john@xxxxxxxxxxx",
  "suspended": 0,
  "subusers": [],
  "keys": [
    { "user": "johndoe",
      "access_key": "QFAMEDSJP5DEKJO0DDXY",
      "secret_key": "iaSFLDVvDdQt6lkNzHyW4fPLZugBAI1g17LO0+87"}],
  "swift_keys": []}

I use the curl -XPUT http://kp/myNewBucket -H"
x-amz-acl: public-read-write" -H"Authorization: AWS QFAMEDSJP5DEKJO0DDXY:{hash-of-header-and-secret}".

how to get hash-of-header-and-secret











  


_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux