On 12/19/2013 2:02 PM, Blair Nilsson wrote:
> How do find or create a user that can use the admin operations for the
> object gateway?
>
> The manual says "Some operations require that the user holds special
> administrative capabilities."
>
> But I can't find if there is a pre setup user with these, or how to
> create one myself.
You would need to create the user. As an example I just created the
following on my cluster:
radosgw-admin user create --uid=admin --display-name="JuanJose Galvez"
--caps="usage=read, write; users=read, write; buckets=read, write;"
You'll notice in the output that it has the following capabilities which
normal users do not have:
"caps": [
{ "type": "buckets",
"perm": "*"},
{ "type": "usage",
"perm": "*"},
{ "type": "users",
"perm": "*"}],
I hope that helps. If you need more information on the API and what caps
are needed for which functions that is found over here:
http://ceph.com/docs/master/radosgw/adminops/
>
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--
JuanJose "JJ" Galvez
Professional Services
Inktank Storage, Inc.
LinkedIn: http://www.linkedin.com/in/jjgalvez
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com