Hi Luke, Thanks for the information. It’s a lot of great stuff I wish I had a couple of days ago :-D I’ve since created a new library here : https://github.com/xirdev/s3_xirsys
It currently adds user creation support. However, I will probably add other features to this over time. It’s mostly functionality that suits my needs rather than something wholly reusable, but if I end up adding a lot to it, I may make a proper module out of it. Regards, Lee On 8 May 2014, at 16:26, Luke Bakken <[email protected]> wrote: > Hi Lee, > > You can find the s3_request2_no_update method in the erlcloud source here: > https://github.com/gleber/erlcloud/blob/master/src/erlcloud_s3.erl. This > method shows the (extensive) steps required to make a valid S3 request, and > is not exported by default. So, moving on... > > I found the following mailing list post > (http://lists.basho.com/pipermail/riak-users_lists.basho.com/2014-April/014997.html) > which points to the following Riak CS test module, showing how to create a > user via Erlang: > > https://github.com/basho/riak_cs/blob/develop/client_tests/erlang/erlcloud_eqc.erl > > You should also be able to use the put_object method in the erlcloud_s3 > module to create a user in the riak-cs bucket, user object. The structure of > the request is documented here: > > http://docs.basho.com/riakcs/latest/cookbooks/Account-Management/ > > -- > Luke Bakken > CSE > [email protected] > > > On Wed, Apr 30, 2014 at 11:39 AM, Lee Sylvester <[email protected]> > wrote: > Hi guys, > > So, I’ve created a bunch of services to allow clients to store and retrieve > data from Riak CS. What I’d like to be able to do is to create new users > from Erlang so that Riak CS can manage all the storage and access data for > each user. I’m currently using Erlcloud to access Riak CS. Does anyone know > the best way to create users from Erlang (preferably with Erlcloud)? > > Thanks, > Lee > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
