CmdID

CmdID / aws / aws sso

aws sso login

Retrieves and caches an AWS IAM Identity Center access token to exchange for AWS credentials. AWS CLI reference

4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the AWS CLI reference
--no-browserDisables automatically opening the verification URL in the default browser.
--redirect-portThe localhost port to use for the Authorization Code callback server.
--sso-sessionAn explicit SSO session to use to login.
--use-device-codeUses the Device Code authorization grant and login flow instead of the Authorization Code flow.