Description
Using aws-vault login with --stdout opens the browser. I would expect the SSO authorization page URL to be printed to stdout instead of opening the browser.
Details
version
aws-vault v6.5.0
.aws/config
[profile <profile>]
sso_start_url = https://<organization>.awsapps.com/start
sso_region = us-east-1
sso_account_id = <accountId>
sso_role_name = <roleName>
region = us-east-1
aws-vault --debug output
$ aws-vault login --stdout --debug <profile>
2022/02/20 21:06:02 aws-vault v6.5.0
2022/02/20 21:06:02 [keyring] Considering backends: [secret-service]
2022/02/20 21:06:02 Loading config file /home/<user>/.aws/config
2022/02/20 21:06:02 Parsing config file home/<user>/.aws/config
2022/02/20 21:06:02 Profile 'default' missing in config file
2022/02/20 21:06:02 Created new OIDC client (expires at: 2022-05-21 22:06:02 -0400 EDT)
2022/02/20 21:06:03 Created OIDC device code for https://<organization>.awsapps.com/start (expires in: 600s)
2022/02/20 21:06:03 Opening SSO authorization page in browser
Opening the SSO authorization page in your default browser (use Ctrl-C to abort)
https://device.sso.us-east-1.amazonaws.com/?user_code=<user_code>
.aws/config(redacted if necessary)aws-vault --debug(redacted if necessary)Description
Using
aws-vault loginwith--stdoutopens the browser. I would expect the SSO authorization page URL to be printed to stdout instead of opening the browser.Details
version
aws-vault v6.5.0
.aws/config
aws-vault --debug output