[Openstack] python keystone v3 api coding question

Michael Hearn mrhearn at gmail.com
Tue Oct 14 17:07:11 UTC 2014


Thanks for the info.  Looks like I need to update my current version of the
keystone v3 api so I can use role_assignments

On Mon, Oct 13, 2014 at 11:04 PM, Dean Troyer <dtroyer at gmail.com> wrote:

> 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
>
> _______________________________________________
> 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/20141014/fb9ed16b/attachment.html>


More information about the Openstack mailing list