Closed gregory closed 5 years ago
Hi, instead of readline, let's make this another command line argument?
What about I update to have both, so that it ll fallback to readline if not present in arguments?
that sounds ok to me.
addressed your suggestion @gojko ! Let me know if you need anything else. Cheers.
hi - thanks for this, looks good. I will test and merge over the weekend.
Hi - I merged your code and tried to add some specs around it so we can maintain it easier. can you please try if this branch still works for you: https://github.com/claudiajs/claudia/tree/gregory-fix_bug_with_mfa
if it does what you need, we can merge everything into master
sorry for the delay @gojko - that was a good idea. Code is cleaner & still works for me. Thanks, let me know if i can help with anything else.
@gregory thanks, will release this later today then
I can't publish this yet because the current aws-sdk release breaks claudia, I've reported a bug there and waiting on them to release it. as soon as that's done, I'll re-run the tests again and push a new release out
wow - crazy - can you link the bug you reported so that we can track status here? Thanks for the head's up!
@gregory the bug was https://github.com/aws/aws-sdk-js/issues/2588. I released claudia 5.4.2 just now, with your patch, so upgrading to the latest version should have this PR merged in
I was missing the tokenCodeFn and allow to pass mfa serial through environment variable.