I use assume command in my bash script which assuming role every time I need to login to AWS SSO.
In the output of my script I can see the message every time when:
assume --auto-configure-shell my-profile
[✘] the Granted alias has already been added to /Users/myuser/.zshenv
I definitely could redirect the output to /dev/null like that assume --auto-configure-shell my-profile but when users run script for the first time I want to keep output for interaction with user (e.g. setup preferred browser). So redirect to /dev/null doesn't work for me.
Is there any way to skip this message in my output?
I use assume command in my bash script which assuming role every time I need to login to AWS SSO.
In the output of my script I can see the message every time when:
I definitely could redirect the output to /dev/null like that
assume --auto-configure-shell my-profile
but when users run script for the first time I want to keep output for interaction with user (e.g. setup preferred browser). So redirect to /dev/null doesn't work for me.Is there any way to skip this message in my output?