<div dir="ltr">+ developers mailing list, hopefully a developer might be able to chime in.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 1, 2015 at 3:58 AM, Marc Heckmann <span dir="ltr"><<a href="mailto:marc.heckmann@ubisoft.com" target="_blank">marc.heckmann@ubisoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I was going to post a similar question this evening, so I decided to just bounce on Mathieu’s question. See below inline.<br>
<span class=""><br>
> On Mar 31, 2015, at 8:35 PM, Matt Fischer <<a href="mailto:matt@mattfischer.com">matt@mattfischer.com</a>> wrote:<br>
><br>
> Mathieu,<br>
><br>
> We LDAP (AD) with a fallback to MySQL. This allows us to store service accounts (like nova) and "team accounts" for use in Jenkins/scripts etc in MySQL. We only do Identity via LDAP and we have a forked copy of this driver (<a href="https://github.com/SUSE-Cloud/keystone-hybrid-backend" target="_blank">https://github.com/SUSE-Cloud/keystone-hybrid-backend</a>) to do this. We don't have any permissions to write into LDAP or move people into groups, so we keep a copy of users locally for purposes of user-list operations. The only interaction between OpenStack and LDAP for us is when that driver tries a bind.<br>
><br>
><br>
><br>
>> On Tue, Mar 31, 2015 at 6:06 PM, Mathieu Gagné <<a href="mailto:mgagne@iweb.com">mgagne@iweb.com</a>> wrote:<br>
>> Hi,<br>
>><br>
>> Lets say I wish to use an existing enterprise LDAP service to manage my<br>
>> OpenStack users so I only have one place to manage users.<br>
>><br>
>> How would you manage authentication and credentials from a security<br>
>> point of view? Do you tell your users to use their enterprise<br>
>> credentials or do you use an other method/credentials?<br>
<br>
</span>We too have integration with enterprise credentials through LDAP, but as you suggest, we certainly don’t want users to use those credentials in scripts or store them on instances. Instead we have a custom Web portal where they can create separate Keystone credentials for their project/tenant which are stored in Keystone’s MySQL database. Our LDAP integration actually happens at a level above Keystone. We don’t actually let users acquire Keystone tokens using their LDAP accounts.<br>
<br>
We’re not really happy with this solution, it’s a hack and we are looking to revamp it entirely. The problem is that I never have been able to find a clear answer on how to do this with Keystone.<br>
<br>
I’m actually quite partial to the way AWS IAM works. Especially the instance “role" features. Roles in AWS IAM is similar to TRUSTS in Keystone except that it is integrated into the instance metadata. It’s pretty cool.<br>
<br>
Other than that, RBAC policies in Openstack get us a good way towards IAM like functionality. We just need a policy editor in Horizon.<br>
<br>
Anyway, the problem is around delegation of credentials which are used non-interactively. We need to limit what those users can do (through RBAC policy) but also somehow make the credentials ephemeral.<br>
<br>
If someone (Keystone developer?) could point us in the right direction, that would be great.<br>
<br>
Thanks in advance.<br>
<div class="HOEnZb"><div class="h5"><br>
>><br>
>> The reason is that (usually) enterprise credentials also give access to<br>
>> a whole lot of systems other than OpenStack itself. And it goes without<br>
>> saying that I'm not fond of the idea of storing my password in plain<br>
>> text to be used by some scripts I created.<br>
>><br>
>> What's your opinion/suggestion? Do you guys have a second credential<br>
>> system solely used for OpenStack?<br>
>><br>
>> --<br>
>> Mathieu<br>
>><br>
>> _______________________________________________<br>
>> OpenStack-operators mailing list<br>
>> <a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
>><br>
> _______________________________________________<br>
> OpenStack-operators mailing list<br>
> <a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</div></div></blockquote></div><br></div>