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
We assume that you will want to load a saved token since this would be normal behavior, and that if you don't want to, that you would disable it via -keyring-type none. So arguably this is an error and we should switch it to stderr.
On the other hand, if you aren't expecting a saved token to be available, but have not actually disabled it, then this is useful information but not actually an error, and it's easy to work around by simply telling the CLI not to try to look for a saved token.
So this is really about user expectation. That said, I'm in favor of switching this to stderr, because it will help with output redirection cases and it can still be disabled via setting the keyring type.
and it's easy to work around by simply telling the CLI not to try to look for a saved token
Just FYI we're putting this in people's shell profiles to simplify logging in... which is before they know what boundary is, nevermind have made a choice about keyring ;-)
Describe the bug
JSON output is invalid due to errors on stdout.
To Reproduce
Steps to reproduce the behavior:
boundary auth-methods list -format=json 2> /dev/null
Expected behavior
Valid JSON that could be used by a program, like
jq
to get the auth method id:Additional context
Add any other context about the problem here.
This is the required workaround, which is messy:
The text was updated successfully, but these errors were encountered: