aws:sso
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| aws:sso [12/08/2025 11:35] – andrew | aws:sso [31/03/2026 15:18] (current) – andrew | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Automating SSO ====== | ====== Automating SSO ====== | ||
| - | AWS sso has changed, so if you are running this on a headless system over ssh for example, use '' | + | AWS sso has changed, so if you are running this on a headless system over ssh for example, use '' |
| < | < | ||
| + | $ aws configure sso --use-device-code <cr> | ||
| + | |||
| SSO session name (Recommended): | SSO session name (Recommended): | ||
| SSO start URL [None]: https:// | SSO start URL [None]: https:// | ||
| Line 18: | Line 20: | ||
| ABCD-EFGH | ABCD-EFGH | ||
| </ | </ | ||
| - | {{: | + | {{: |
| - | </code> | + | |
| + | Click Allow Access, you can then close your tab / browser session. | ||
| + | |||
| + | <code> | ||
| There are 8 AWS accounts available to you. | There are 8 AWS accounts available to you. | ||
| Using the account ID 123412341234 | Using the account ID 123412341234 | ||
| Line 33: | Line 38: | ||
| + | ===== Deriving SSO URL ===== | ||
| + | |||
| + | The URL for the SSO sign in can be derived programatically: | ||
| < | < | ||
aws/sso.1754998526.txt.gz · Last modified: by andrew
