Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nautilus: rgw: add 'GET /admin/realm?list' api to list realms #28751

Merged
merged 1 commit into from Jul 30, 2019

Conversation

@pdvian
Copy link

commented Jun 26, 2019

rgw: add 'GET /admin/realm?list' api to list realms
returns the same json format as 'radosgw-admin realm list', where
'default_info' is the id of the default realm, and 'realms' is the list
of realm names

the user must authenticate and have the 'zone' read capability

~/ceph/build $ curl http://localhost:8000/admin/realm?list
{"default_info":"52681550-8531-407c-b734-b588e5221883","realms":["bar","foo","dev"]}

~/ceph/build $ bin/radosgw-admin realm list
{
    "default_info": "52681550-8531-407c-b734-b588e5221883",
    "realms": [
        "bar",
        "foo",
        "dev"
    ]
}

Fixes: https://tracker.ceph.com/issues/39626

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 856d078)

@tchaikov tchaikov added this to the nautilus milestone Jun 26, 2019

@smithfarm smithfarm added the rgw label Jun 26, 2019

@smithfarm smithfarm requested a review from cbodley Jun 26, 2019

@yuriw

This comment has been minimized.

Copy link
Contributor

commented Jul 25, 2019

@yuriw yuriw merged commit 38d20d5 into ceph:nautilus Jul 30, 2019

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.