<html><body>
<p><font size="2" face="sans-serif">Hi Steven,</font><br>
<br>
<font size="2" face="sans-serif">You can look at the unit tests being run. </font><a href="https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3_auth.py#L1782"><font size="3" color="#0000FF" face="serif"><u>https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3_auth.py#L1782</u></font></a><font size="3" face="serif"> </font><br>
<font size="2" face="sans-serif">It looks like you need to provide the trustee uname/password and the trust id. Keep digging into 'build_authentication_request" to see how it's structured, then it's just a call to /auth/tokens.<br>
<br>
Thanks,<br>
<br>
_____________________________________________<br>
Steve Martinelli | A4-317 @ IBM Toronto Software Lab<br>
Software Developer - OpenStack<br>
Phone: (905) 413-2851<br>
E-Mail: stevemar@ca.ibm.com</font><br>
<br>
<img width="16" height="16" src="cid:1__=0ABBF15ADFC5A4FE8f9e8a93df938@ca.ibm.com" border="0" alt="Inactive hide details for Steven Hardy ---08/16/2013 11:38:57 AM---Hi, I'm looking for help, ideally some code or curl examples"><font size="2" color="#424282" face="sans-serif">Steven Hardy ---08/16/2013 11:38:57 AM---Hi, I'm looking for help, ideally some code or curl examples, figuring out why</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Steven Hardy <shardy@redhat.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">openstack-dev@lists.openstack.org, </font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">08/16/2013 11:38 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">[openstack-dev] [keystone] Help consuming trusts</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2">Hi,<br>
<br>
I'm looking for help, ideally some code or curl examples, figuring out why<br>
I can't consume trusts in the manner specified in the documentation:<br>
<br>
</font></tt><tt><font size="2"><a href="https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3-os-trust-ext.md">https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3-os-trust-ext.md</a></font></tt><tt><font size="2"><br>
<br>
I've been working on getting Heat integrated with the trusts functionality,<br>
and the first step was to add keystoneclient support:<br>
<br>
</font></tt><tt><font size="2"><a href="https://review.openstack.org/#/c/39899/">https://review.openstack.org/#/c/39899/</a></font></tt><tt><font size="2"><br>
<br>
All works fine in terms of the actual operations on the OS-TRUST path, I<br>
can create, list, get, delete trusts with no issues.<br>
<br>
However I'm strugging to actually *use* the trust, i.e obtain a<br>
trust-scoped token using the trust ID, I always seem to get the opaque<br>
"Authorization failed. The request you have made requires authentication."<br>
message, despite the requests on authentication looking as per the API docs.<br>
<br>
Are there any curl examples or test code I can refer to?<br>
<br>
Thanks,<br>
<br>
Steve<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
OpenStack-dev@lists.openstack.org<br>
</font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></tt><tt><font size="2"><br>
<br>
</font></tt><br>
</body></html>