Revision history [back]

tenant-list is only exposed on keystone admin port (35357) so the user that is doing a tenant-list needs to have the admin context (have the admin role).

Even the /v3 api needs admin context.

http://developer.openstack.org/api-ref-identity-v3.html

{
    "projects": [
        {
            "domain_id": "--domain-id--",
            "enabled": true,
            "id": "--project-id--",
            "links": {
                "self": "http://identity:35357/v3/projects/--project-id--"
            },
            "name": "a project name"
        },
        {
            "domain_id": "--domain-id--",
            "enabled": true,
            "id": "--project-id--",
            "links": {
                "self": "http://identity:35357/v3/projects/--project-id--"
            },
            "name": "another project"
        }
    ],
    "links": {
        "self": "http://identity:35357/v3/projects",
        "previous": null,
        "next": null
    }
}
GET