Repository navigation
rgw: Inject keystone roles into IAM policy - #67752
Conversation
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
13 similar comments
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not yet a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
Config Diff Tool Output+ added: rgw_keystone_inject_roles (rgw.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
|
/config check ok |
7cc64ea to
38dbacf
Compare
|
code changes look great, thanks. i'd like to mention this support in the docs too. there's a section that talks about which s3 condition keys we support under https://docs.ceph.com/en/latest/radosgw/bucketpolicy/#limitations
could you add another sentence below that along the lines of:
the keystone docs also have a section about s3 in https://docs.ceph.com/en/latest/radosgw/keystone/#keystone-integration-with-the-s3-api which might mention this |
38dbacf to
5252453
Compare
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok to test" to allow the Jenkins jobs to run. |
e70ad1e to
a7a9cf5
Compare
|
I have added new commit introducing keystone:userid. |
a7a9cf5 to
ad0b12b
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Keystone roles are injected into the IAM policy evaluation environment as "keystone:role" condition keys. This enables bucket policies to grant or deny access based on Keystone roles. It bridges the gap between Openstack RBAC and S3 IAM policy. Document keystone:role in bukcet policy and Keystone S3 integration Signed-off-by: Supriti Singh <[email protected]> Signed-off-by: Marcel Lauhoff <[email protected]> On-behalf-of: SAP <[email protected]> On-behalf-of: SAP <[email protected]>
Expose the Keystone token user UUID as condition key "keystone:userid" so IAM and bucket policies can restrict access by user (e.g. per-user buckets or user-specific allow/deny). On-behalf-of: SAP <[email protected]> Signed-off-by: Supriti Singh <[email protected]>
ad0b12b to
b06b7a8
Compare
|
pr testing completed and got approval from @ivancich , tracker details: https://tracker.ceph.com/issues/76554. |
Retroactive <uuid>.md for the Keystone scope logging + IAM role injection backport already landed on this branch as merge commit c582732. Backport-Id: 019e92ed-d2cc-7bce-a481-77ca769cfda9 Backport-Merge: c582732 Upstream-PRs: ceph#66111, ceph#67752
Backport-Id: 01a0cdb3-3f84-74ab-9403-c7638a039697 Backport-PR: #16 Upstream-PRs: ceph#67752
Backport-Id: 01a0cdb3-3f84-74ab-9403-c7638a039697 Backport-PR: #16 Upstream-PRs: ceph#67752
Backport-Id: 01a143b6-5653-75f3-b580-de1436c92efd Backport-PR: #31 Upstream-PRs: ceph#67752
Backport-Id: 01a16411-8df8-7e1f-baaf-8aa40a09ecdd Backport-PR: #41 Upstream-PRs: ceph#67752
Keystone roles are injected into the IAM policy evaluation environment as "keystone:role" condition keys. This enables bucket policies to grant or deny access based on Keystone roles. It bridges the gap between Openstack RBAC and S3 IAM policy.
On-behalf-of: SAP [email protected]
On-behalf-of: SAP [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.