[Openstack] Listing all the tenants in Openstack using keystone API.

Lin Hua Cheng os.lcheng at gmail.com
Wed Dec 16 10:53:24 UTC 2015


Hi Parikshit,

Listing all tenants is not exposed in the publicUrl for Keystone v2.
Listing all tenants is a privileged operation, and that's the reason it is
only exposed in the admin endpoint.

If you switch to keystone v3, public and admin endpoint now exposes the
same capability. You should be able to list all tenants using
<host>:5000/v3/projects.

-Lin

On Wed, Dec 16, 2015 at 10:46 AM, Parikshit Manur <
parikshit.manur at citrix.com> wrote:

> Hi All,
>
>                 Listing tenants using  adminURL lists all the tenants.
> Listing the same from publicURL lists filtered list where token has access. Exposing
> admin endpoint port is not recommended and is blocked from external network.
> Is there a way to list all tenats in openstack using the publicURL ?
>
>
>
>
>
> Thanks,
>
> Parikshit Manur
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151216/00c56be0/attachment.html>


More information about the Openstack mailing list