How to do it…
Following steps will help you to create radosgw user:
- Make sure that the rgw-node1 is able to access the Ceph cluster:
# ceph -s -k /var/lib/ceph/radosgw/ceph-rgw.rgw-node1/keyring
--name client.rgw.rgw-node1
- Create a RADOS Gateway user for the S3 access:
# radosgw-admin user create --uid=pratima
--display-name="Pratima Umrao"
--email=pratima@cephcookbook.com
-k /var/lib/ceph/radosgw/ceph-rgw.rgw-node1/keyring
--name client.rgw.rgw-node1

- The values keys (access_key) and the keys (secret_key) would be required later in this chapter for access validation.
- To use Ceph object storage with the Swift API, we need to create a Swift subuser on the Ceph RGW:
# radosgw-admin subuser create --uid=pratima
--subuser=pratima:swift --access=full
-k /var/lib/ceph/radosgw/ceph-rgw.rgw-node1/keyring
--name client.rgw.rgw-node1
