To use Ceph object storage, we should create an initial Ceph object gateway user for the S3 interface and then create a subuser for the Swift interface
rgw-node1
is able to access the Ceph cluster.# ceph -s -k /etc/ceph/ceph.client.radosgw.keyring --name client.radosgw.gateway
# radosgw-admin user create --uid=mona --display-name="Monika Singh" [email protected] -k /etc/ceph/ceph.client.radosgw.keyring --name client.radosgw.gateway
access_key
) and the keys (secret_key
) would be required later in this chapter for access validation.# radosgw-admin subuser create --uid=mona --subuser=mona:swift --access=full -k /etc/ceph/ceph.client.radosgw.keyring --name client.radosgw.gateway
mona:swift
subuser; they will be used later in this chapter:# radosgw-admin key create --subuser=mona:swift --key-type=swift --gen-secret -k /etc/ceph/ceph.client.radosgw.keyring --name client.radosgw.gateway
18.226.177.86