was modeled after aws accounts and doesn't have a good story for keystone… Yes, although I think this is also a relevant limitation elsewhere on the openstack side, so I’m looking into this in the context of “how do I grant permissions only to particular resources: object store, nova instances, neutron networks …”
In some ways the limiting case is “give an API key to a totally untrusted LLM agent”, and make sure it can only modify expected resources. None of this is “AI” specific, just an example of when you’d want to grant access to something so untrusted. I think some brainstorming is required to figure out a reasonable model, before deciding how to synchronize such a thing. I should also say that I’m at OpenInfra today if anyone wants to chat about this in person. -Mike From: Casey Bodley <cbodley@redhat.com> Date: Friday, November 13, 2026 at 9:00 AM To: Michael Sherman <shermanm@uchicago.edu> Cc: ceph-users@ceph.io <ceph-users@ceph.io> Subject: Re: [ceph-users] RGW with Keystone: best practices, gaps, and who’s working on it? On Wed, Nov 11, 2026 at 3:35 PM Michael Sherman <ceph-users@ceph.io> 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://urldefense.com/v3/__https://github.com/ChameleonCloud/rgw-quota-sync__;!!BpyFHLRN4TMTrA!4168JuxeKZmd76jyRSyr7iW-YgqXIaTJKpRskIwbRdgRQ02tpkh5gBTFFMhjUsqgrV0gZMLsYs-cUgjd1hs$<https://urldefense.com/v3/__https:/github.com/ChameleonCloud/rgw-quota-sync__;!!BpyFHLRN4TMTrA!4168JuxeKZmd76jyRSyr7iW-YgqXIaTJKpRskIwbRdgRQ02tpkh5gBTFFMhjUsqgrV0gZMLsYs-cUgjd1hs$>
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.
the user accounts feature in https://urldefense.com/v3/__https://docs.ceph.com/en/squid/radosgw/account/__;!!BpyFHLRN4TMTrA!4168JuxeKZmd76jyRSyr7iW-YgqXIaTJKpRskIwbRdgRQ02tpkh5gBTFFMhjUsqgrV0gZMLsYs-cRfReHnY$<https://urldefense.com/v3/__https:/docs.ceph.com/en/squid/radosgw/account/__;!!BpyFHLRN4TMTrA!4168JuxeKZmd76jyRSyr7iW-YgqXIaTJKpRskIwbRdgRQ02tpkh5gBTFFMhjUsqgrV0gZMLsYs-cRfReHnY$> was modeled after aws accounts and doesn't have a good story for keystone. it is possible to migrate an existing keystone user into an account using the instructions from https://urldefense.com/v3/__https://docs.ceph.com/en/squid/radosgw/account/*migrate-an-existing-user-into-an-account__;Iw!!BpyFHLRN4TMTrA!4168JuxeKZmd76jyRSyr7iW-YgqXIaTJKpRskIwbRdgRQ02tpkh5gBTFFMhjUsqgrV0gZMLsYs-cbkXvcxg$<https://urldefense.com/v3/__https:/docs.ceph.com/en/squid/radosgw/account/*migrate-an-existing-user-into-an-account__;Iw!!BpyFHLRN4TMTrA!4168JuxeKZmd76jyRSyr7iW-YgqXIaTJKpRskIwbRdgRQ02tpkh5gBTFFMhjUsqgrV0gZMLsYs-cbkXvcxg$> . but if the user is given is account-root privileges, that would allow them to create additional users/roles and authenticate through those instead of keystone. this may be desirable in some cases, but it may also defeat the purpose of using keystone for authentication on the iam policy side, the umbrella release adds new condition keys keystone:role and keystone:userid, documented in https://urldefense.com/v3/__https://docs.ceph.com/en/umbrella/radosgw/keystone/*keystone-integration-with-the-s3-api__;Iw!!BpyFHLRN4TMTrA!4168JuxeKZmd76jyRSyr7iW-YgqXIaTJKpRskIwbRdgRQ02tpkh5gBTFFMhjUsqgrV0gZMLsYs-cmUX04KY$<https://urldefense.com/v3/__https:/docs.ceph.com/en/umbrella/radosgw/keystone/*keystone-integration-with-the-s3-api__;Iw!!BpyFHLRN4TMTrA!4168JuxeKZmd76jyRSyr7iW-YgqXIaTJKpRskIwbRdgRQ02tpkh5gBTFFMhjUsqgrV0gZMLsYs-cmUX04KY$> . those can be used in bucket policy without the need for user accounts
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