[ceph-users] two keys for one single uid

Henrik Korkuc lists at kirneh.eu
Thu Nov 23 00:07:57 PST 2017


radosgw-admin key create --key-type s3 --uid user_uuid 
--access-key=some_access_key --secret-key=some_secret_key

or you can instruct it to generate access/secret

On 17-11-23 01:25, Daniel Picolli Biazus wrote:
> Hey Guys,
>
> Is it possible generating two keys in one single user/uid on rados S3 ?
>
> Something like that:
>
> radosgw-admin user info --uid=0001
> {
>     "user_id": "0001",
>     "display_name": "0001",
>     "email": "",
>     "suspended": 0,
>     "max_buckets": 10,
>     "auid": 0,
>     "subusers": [],
>     "keys": [
>         {
>             "user": "0001",
>             "access_key": "foo1",
>             "secret_key": "bar1"
>         },
>         {
>             "user": "0001",
>             "access_key": "foo2",
>             "secret_key": "bar2"
>         }
>     ],
>     "swift_keys": [],
>     "caps": [
>         {
>             "type": "usage",
>             "perm": "*"
>         },
>         {
>             "type": "users",
>             "perm": "read"
>         }
>     ],
>     "op_mask": "read, write, delete",
>     "default_placement": "",
>     "placement_tags": [],
>     "bucket_quota": {
>         "enabled": false,
>         "max_size_kb": -1,
>         "max_objects": -1
>     },
>     "user_quota": {
>         "enabled": true,
>         "max_size_kb": 1048576000000,
>         "max_objects": -1
>     },
>     "temp_url_keys": []
> }
>
>
> Best Regards,
> Biazus
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20171123/c0c7ec3e/attachment.html>


More information about the ceph-users mailing list