1

Here is the situation:

  • I have an api call, it requires MFA input
  • I want the output of the api call to go to a file
  • I want just the MFA prompt to go to STDOUT (edit: Before process termination. I want to react to the prompt)

I think this is what I want:

some api call | STDOUT | grep "mfa subtext"
              | cat > outfile.txt

A single process that forks its pipes to two different locations that process things differently. Also, some api call requires a user input that cannot be automated (a MFA prompt).

And I'm totally stuck

Roman
  • 8,826
  • 10
  • 63
  • 103

0 Answers0