1 Answers
0
Hello,
I believe there are a couple options here. The CLI uses the default browser settings, so one option is to set your default browser to private. This isn't desirable, so you'd have to change the command line or terminal default browser settings.
For command prompt, it may be possible through the properties menu (found by right clicking the bar at the top). More information can be found in the shell documents.
For a linux terminal, it's done through the command: sudo update-alternatives --config x-www-browser
. Adding the -incognito
tag may also work.
Hope this helps.
answered 21 days ago
Relevant questions
AWS SSO Switch Account Shortcut
asked 21 days agoUse AWS CLI to connect to AWS SSO that can only be accessed through Incognito Browser
asked 21 days agoELI5: AWS CLI and SSO
asked 8 months agoUsing Terraform with AWS SSO accounts
asked 23 days agoboto3 "logging" into the AWS SSO
Accepted Answerasked 6 months agoMWAA UI Private Webserver can't be accessed through internal ALB
asked 4 months agoEnable AWS SSO programatically?
asked 3 months agoAWS SSO - what OU/account to use?
asked 3 months agoHow to login into the AWS SSO using AWS CLI without needing browser?
Accepted Answerasked 7 months agoHow to use EKS with AWS SSO
asked a year ago
Thank you for your response. I'm running this on command prompt, would you happen to know the windows alternative of the command. Looked for it but didn't find anything. I also tried the -incognito at the end of the SSO url but it didn't work.
I'm not sure, but it may be found in the command prompt properties menu (right click the bar at the top). More information may be found in the shell documents: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands