I am currently using the awscli version 2 to obtain temporary credentials at the command line. This seems to require a browser to be involved. This will not work everywhere like on a server for example. I would like to be able to obtain temporary credentials at the command line for my user account using AWS SSO. Is this possible. From what I can tell from the SDK documentation here and the awscli version 2 utility, there does not seem to be a way to do this.
The "device code" OAuth2 grant type is explicitly meant for browserless authentication as mentioned here But the AWS SSO SDK doesn't seem to be able to support this.
Would appreciate any ideas/thoughts/help on this issue.
Thank You, Vish