AdRoll / hologram

Easy, painless AWS credentials on developer laptops.
Apache License 2.0
803 stars 42 forks source link

Support for two-factor authentication #2

Open sciurus opened 9 years ago

sciurus commented 9 years ago

In addition to verifying the user's SSH key, the hologram server should optionally require two-factor authentication using one-time passwords.

epall commented 9 years ago

Yes! Though passphrase + SSH key is basically two factors already, we should support IAM Multi-Factor Auth.

sciurus commented 9 years ago

I was wondering abut SSH key security; do you have a way of enforcing a passphrase?

gaylatea commented 9 years ago

It's probably outside the scope of Hologram to try and enforce passphrases; we just delegate to the user's ssh-agent for that. Better development environment setup tools should take care of that.

wrt Multi-Factor Auth, we were unsure of how to get the UX right for it. Ideally Hologram is invisible to the user unless they need to change roles. Is it possible to just do the MFA dance once, whenever you do hologram me or hologram use [role]?

copumpkin commented 9 years ago

I was actually thinking about this a bit more, and think it could add additional security. It's probably most relevant for cross-account access (which will probably become more useful after authorization support in #14), but supporting IAM MFA functionality would allow people to place less trust in the hologram server.

Scenario without MFA:

Scenario with MFA:

I still don't have a good sense of what a UI would look like though :smile: