You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this moment, we use stdin/out to both print the Please type your MFA token... and collect the MFA token. That can be intrusive to users that might want to pipe/redirect its output:
awsudo -u production read_consul_logs > logs.txt
If an MFA token needs to be collected, the file output will include the printed stdin:
Please type your MFA token for arn:aws:iam::9999999999:user/bezos:
MY LOGS
Therefore, we might be better served using /dev/tty.
At this moment, we use
stdin/out
to both print thePlease type your MFA token...
and collect the MFA token. That can be intrusive to users that might want to pipe/redirect its output:awsudo -u production read_consul_logs > logs.txt
If an MFA token needs to be collected, the file output will include the printed
stdin
:Therefore, we might be better served using
/dev/tty
.Reference:
The text was updated successfully, but these errors were encountered: