openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #11241
Re: Listing roles for a user
-
To:
openstack@xxxxxxxxxxxxxxxxxxx
-
From:
Pierre Amadio <pierre.amadio@xxxxxxxxxxxxx>
-
Date:
Fri, 04 May 2012 21:59:08 +0200
-
In-reply-to:
<CACbLkc=SUekn3jS0Cug0-eX=COYqG6YSxoNe49ka3VU2pFXoZg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1
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