October 2017
Intermediate to advanced
340 pages
9h 46m
English
Ceph's RGW also offers a RESTful API that is compatible with OpenStack's Swift. However, unlike S3, we need to create a separate user for Swift. In Ceph's nomenclature, such a user is a subuser. The new subuser we create for our original RGW user will give us access to the same objects and buckets that we have created via S3 but using the Swift interface.
Creation of the subuser will be done from the RGW virtual machine itself, the same node we used to run all the above commands. We will use the familiar radosgw-admin utility to create a subuser for making calls through the Swift API:
root@ceph-rgw0:~# radosgw-admin subuser create --uid=harshita --subuser=harshita:swift --key-type=swift{ "user_id": "harshita", "display_name": ...Read now
Unlock full access