[Openstack] Listing roles for a user

Pierre Amadio pierre.amadio at canonical.com
Fri May 4 19:59:08 UTC 2012


On 05/04/2012 05:36 PM, Kevin Jackson wrote:
> Hello everyone,
> Quick Q: As an administrator how can I list the roles for a given user
> with the keystone client?
> I see this teasing option - but I can only list all roles unless I auth
> with the user's details...
> 
> role-list           List all roles, or only those granted to a user.
> 

What about

keystone role-list --user userid --tenant_id tenantid

?

Here, if i launch this using the SERVICE_TOKEN environment variable to
be authenticated as "the" admin, i see an other user's role.





More information about the Openstack mailing list