<pre>curl -H "X-Auth-Token:123456789001234" <a href="http://localhost:5000/v2.0/tenants">http://localhost:5000/v2.0/tenants</a></pre>that seems to do the trick for me for now.<br><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 1:03 PM, Adam Young <span dir="ltr"><<a href="mailto:ayoung@redhat.com" target="_blank">ayoung@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
<div>On 07/17/2012 03:55 PM, Matt Joyce
wrote:<br>
</div>
<blockquote type="cite">On Tue, Jul 17, 2012 at 12:55 PM, Adam Young <span dir="ltr"><<a href="mailto:ayoung@redhat.com" target="_blank">ayoung@redhat.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 07/17/2012 03:47 PM, Matt Joyce wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As a non admin user. Querying the keystone v2 API is
there a way for me to get a list of the tenants that I am
a member of? Or is that only a v3 thing?<br>
<br>
-Matt<br>
</blockquote>
<br>
</div>
I was just looking into it, and there is no such API yet.
The underlying Identity provider call is get_tenants_for_user
and there does not seem to be a route set up that calls that.<br>
</blockquote>
</div>
<br>
<br>
8( <--- sad panda face.<br>
<br>
That would have been a very useful call for me right now. I hope
we have something by folsom ( albeit s/tenant/project/ig )<br>
<br>
-Matt<br>
</blockquote></div></div>
You can try this one out:<br>
<br>
<a href="https://github.com/admiyo/keystone/commit/997f9cb76fa908afebf434bef4905add085823ca" target="_blank">https://github.com/admiyo/keystone/commit/997f9cb76fa908afebf434bef4905add085823ca</a><br>
<br>
<br>
</div>
</blockquote></div><br>