S3 is originally Amazon's protocol so any details could be found in Amazon’s documentation. If you want to know the details about the restful API, see http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTcors.html Now Sree has been updated adding a bucket action to help setup bucket CORS. You might be interested to checkout the new version: https://github.com/cannium/Sree
Cheers, Can ZHANG On May 3, 2016, at 11:07, Ben Hines <bhi...@gmail.com<mailto:bhi...@gmail.com>> wrote: Can you provide info on how to set up CORS for a ceph bucket? The docs you linked to are Amazon specific. On Mon, May 2, 2016 at 8:05 PM, Ben Hines <bhi...@gmail.com<mailto:bhi...@gmail.com>> wrote: IMO Having to enter your S3 key/secret makes deployment actually difficult for users. Everyone knows their LDAP login -- no one knows the S3 keys, we'd only use this for Ceph debugging purposes, most likely. Perhaps i can implement this myself, thanks :) -Ben On Mon, May 2, 2016 at 7:48 PM, Can Zhang(张灿) <zhang...@le.com<mailto:zhang...@le.com>> wrote: Hi Ben, Actually if not for CORS issues, we would have implemented Sree as a javascript app fully running in browser. By design the backend should be as simple as possible(currently less than 150 lines of python) to ease deployment for new users. So as for now we wouldn’t support LDAP auth but if you need help to develop your auth mechanism, don’t hesitate to email me. Cheers, Can ZHANG On Apr 30, 2016, at 01:54, Ben Hines <bhi...@gmail.com<mailto:bhi...@gmail.com>> wrote: This is nice. For my use case, I'd love to see LDAP authentication for the client frontend with the S3 credentials hidden from the user. I could probably even handle the LDAP auth part with nginx, if the sree applciation would save its configuration on the server side. -Ben On Thu, Apr 28, 2016 at 7:29 PM, Can Zhang(张灿) <zhang...@le.com<mailto:zhang...@le.com>> wrote: Hi, In order to help new users to get hands on S3, we developed a web based S3 client called “Sree”, and hope to see if it could become part of Ceph. Currently we host the project at: https://github.com/cannium/Sree Users could use Sree to manage their files in browser, through Ceph’s S3 interface. I think it’s more friendly for new users than s3cmd, and would help Ceph to hit more users. Any suggestions are welcomed. Hope to see your replies. Cheers, Can ZHANG _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com