Hi, We've been using Keystone authentication for years, mainly because we migrated our object store service from OpenStack Swift to Ceph RGW, and this allowed us to keep the existing user accounts in place. However, we are now phasing out Keystone in favor of Ceph's internal authentication, for various reasons. One is that we have no other OpenStack components in the setup, so dropping Keystone is one less component to maintain. This is of course different for you. Another is the fact that in current versions of Ceph, there is only a single role mapping from a Keystone project, and a user with any accepted role has full access to the Ceph RGW account. This is being worked on, but it's not in any released version yet, not even Umbrella: https://docs.ceph.com/en/latest/radosgw/keystone/#project-scoped-reader-role Thirdly and most importantly, the self-service IAM functionality is just awesome, and the IAM policies are far superior to the older ACL's. Afaik getting this to work with Keystone is impossible, or at least very difficult. To be fair, since we've already decided to drop Keystone I stopped working on that integration so I'm not fully versed on the latest developments in that area. We have observed that Keystone authentication totally outperforms internal authentication when it comes to performance, due to the caching of tokens. So for us there is at least that drawback in dropping Keystone. Not the answer you were looking for, I know, just sharing our experience :) Regards, JM On 11/11/26 21:34, Michael Sherman wrote:
Hi all,
I operate object storage for an OpenStack cloud, with RGW authenticating users through Keystone for both the S3 and Swift APIs. The individual features work fine, but we’ve had to work around some gaps between what RGW and Keystone each handle. Two examples:
Quotas: Out of the box, there doesn’t seem to be an “OpenStack way” to set quotas in RGW. We built a small tool to manage per-project quotas, and plan to have it read them from Keystone unified limits. https://github.com/ChameleonCloud/rgw-quota-sync
Access and identity: Right now, each Keystone project is mapped to a single RGW user, which makes it difficult to, for example, create a bucket with access rules narrower than “one project”, such as restricting to a specific service account. I saw that Squid added RGW “accounts”, and there are recent commits relating to Keystone policy, but it isn’t clear to me how they are meant to fit together.
Is there a recommended recipe for how RGW and Keystone are intended to be used together in production? I’d be happy to contribute to docs or improvements, and generally collaborate. 😊
Thanks! -Mike
-- Michael Sherman Infrastructure Lead – Chameleon Computer Science, University of Chicago MCS, Argonne National Lab
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io