Command-line programs are often invoked via shell scripts. For example, you might invoke
psql multiple times in a single shell script.
By default, the
cased client requests access on each invoking of a command-line program. For regular usage from the command-line, this is often preferable. However, for a better workflow with shell scripts, we recommend setting a
session approval duration to a number that users are not prompted to request access on each program invocation, and to avoid impacting any other prompt input your shell script may require.
Updated 6 months ago