Here are some technical references: https://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html
http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/HMACAuth.html http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html You also might choose to use s3curl (wrapper for curl that does auth along with many other shortcuts) or similar. https://github.com/rtdp/s3curl On Tue, Jul 7, 2015 at 8:05 PM, Eduardo Gonzalez Gutierrez < egonza...@oesia.com> wrote: > Hi, i'm trying to use admin ops through curl, but i don't know where to > get "Authorization: AWS {access-key}: {hash-of-header-and-secret}". > > > Can anyone help me how to get hash of header and secret? > > My test user info is: > > { > > "user_id": "user1", > > "display_name": "user1", > > "email": "", > > "suspended": 0, > > "max_buckets": 1000, > > "auid": 0, > > "subusers": [], > > "keys": [ > > { > > "user": "user1", > > "access_key": "accesskey1", > > "secret_key": "temporal" > > } > > ], > > "swift_keys": [], > > "caps": [ > > { > > "type": "usage", > > "perm": "write" > > }, > > { > > "type": "user", > > "perm": "write" > > } > > ], > > "op_mask": "read, write, delete", > > "default_placement": "", > > "placement_tags": [], > > "bucket_quota": { > > "enabled": false, > > "max_size_kb": -1, > > "max_objects": -1 > > }, > > "user_quota": { > > "enabled": false, > > "max_size_kb": -1, > > "max_objects": -1 > > }, > > "temp_url_keys": [] > > } > > > Thanks in advance. > > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > -- Brian Andrus | Cloud Storage Consultant redhat.com | ceph.com
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com