← Back to team overview

openstack team mailing list archive

Re: Listing roles for a user

 

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.



References