diff --git a/docs/how-to/aws-sso/native-sso-setup.md b/docs/how-to/aws-sso/native-sso-setup.md index c221458f..9aa57a02 100644 --- a/docs/how-to/aws-sso/native-sso-setup.md +++ b/docs/how-to/aws-sso/native-sso-setup.md @@ -59,7 +59,7 @@ SSO registration scopes [sso:account:access]: Completed configuring SSO session: ent-gov Run the following to login and refresh access token for this session: -aws sso login --sso-session ent-gov +aws sso login --sso-session ent-gov --use-device-code --no-browser ``` Next, add a profile named `ent-gov` for simplification of daily logins. It will be named the same as the `sso-session`, using the same settings. This one you can do through the @@ -83,7 +83,11 @@ this yet). If you did not add the profile `ent-gov`, once you have setup any pr which all activate the SSO for all accounts to which you have access. ```console -% aws sso login --profile ent-gov --no-browser +# aws cli older than 2.22 +# % aws sso login --profile ent-gov --no-browser + +# aws cli 2.22 and newer +% aws sso login --profile ent-gov --use-device-code --no-browser Browser will not be automatically opened. Please visit the following URL: @@ -199,3 +203,6 @@ aws --profile my-account-eks whoami * 1.0.2 -- 2025-02-10 - update docs for changes in CLI v2.22 + +* 1.0.3 -- 2025-09-04 + - update to add details relevant for 2.22