If you create a subuser of the uid, then the subuser can have its own name and key while being the same user. You can also limit a subuser to read, write, read+write, or full permissions. Full is identical permissions for the subuser as the user. Full enables creating and deleting buckets.
To list a subuser, you just do a user info on the user and it shows it. I think you might be able to have multiple keys for a user without subusers, but I think subusers is a better method. On Wed, Nov 22, 2017, 6:26 PM Daniel Picolli Biazus <[email protected]> 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 > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
