[Openstack] python keystone v3 api coding question

Dean Troyer dtroyer at gmail.com
Mon Oct 13 22:04:06 UTC 2014


On Mon, Oct 13, 2014 at 3:28 PM, Priti Desai <Priti_Desai at symantec.com>
wrote:

> I don’t know about Keystone Client V3 API but OpenStack client has a way
> to get the list of users and their roles under a project:
>
> *openstack role assignment list --project=project-a*
>

This is implemented in the v3 API with role_assignments.list().  OSC does a
bit of processing before and after so to match its output you would want to
look at openstackclient.identity.v3.role_assignment:ListRoleAssignment

dt

-- 

Dean Troyer
dtroyer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141013/3364ad6e/attachment.html>


More information about the Openstack mailing list