Re: radosgw create user using API

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

 



On Thu, Jul 18, 2013 at 12:50 AM, Alvaro Izquierdo Jimeno
<aizquierdo@xxxxxxxx> wrote:
> Hi,
>
>
>
> Reading the URL http://ceph.com/docs/next/radosgw/adminops/#create-user ,
> I’m trying to create a new user with:
>
>
>
> curl -v -X PUT  -d '{"uid": "alvaro", "display-name": "alvaro"}
> http://myradosgw/admin/user?format=json

To start with, you're not signing the request, so you're under the
'anonymous' user context. There's a s3curl script that can do it for
you.

>
>
>
> and a 403 response is received L
>
>
>
> So, Do I need a token? A token of who? Do I need a superuser with a special
> feature? Or I have  to setup something special in radosgw part into
> ceph.conf?

You need to have a user that have a specific caps set for it. In order
to create users you need the 'users' cap set to 'write'.

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


  Powered by Linux