Forum Discussion

Former Member's avatar
Former Member
3 years ago

[CLI2] `whoami` command with `--session` and `--account` errors out and ignores `--session`

Hi there! I was using something like this to check whether a session was still valid for a specific account: op whoami --session $SESSION --account $ACCOUNT if [ $? = 0 ] then echo...