Skip to content

Commit

Permalink
update to add details relevant for 2.22+
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Sep 4, 2025
1 parent 92976a9 commit 77c0252
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/how-to/aws-sso/native-sso-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:

Expand Down Expand Up @@ -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

0 comments on commit 77c0252

Please sign in to comment.