Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Sign in to SSO:
    aws sso login --profile dev-account
    This will open your browser for authentication (same process as portal login).

Sign out when finished:

aws sso logout

Benefits of AWS CLI SSO Integration


  • Seamless authentication: Uses the same login process as the web portal
  • Automatic token refresh: No need to manually update credentials
  • Multiple account support: Easy switching between accounts and roles
  • Security: No long-term access keys stored locally

Option 2: Temporary Access Keys from the Portal

...

Note: These credentials are temporary and will need to be refreshed periodically.

Benefits of AWS CLI SSO Integration

...