donnemartin / saws

A supercharged AWS command line interface (CLI).
Other
5.24k stars 281 forks source link

Support MFA #37

Open benkoller opened 8 years ago

benkoller commented 8 years ago

Hi,

I just tested your setup and apparently saws does not support multi factor authentication for profiles. I'd highly request that as a feature.

Cheers!

donnemartin commented 8 years ago

@benkoller: thanks for the feature request. I'm not too familiar yet with MFA and profiles with awscli, does this section of the README help?

https://github.com/donnemartin/saws#aws-credentials-and-named-profiles

benkoller commented 8 years ago

Only if you authenticate manually using the awscli. Right now however saws simply fails without notice on MFA and the readme does not mention it either.

Boto by the way supports MFA so implementation should at least not require major changes.