If you can't sign in to AWS, see Troubleshooting sign-in
issues. If Troubleshooting doesn't address your issue, contact AWS Support through this form
Sign in through the AWS Command Line Interface
We recommend that you configure a user in IAM Identity Center if you plan to use the AWS Command Line Interface. The AWS access portal user interface makes it easy for IAM Identity Center users to select an AWS account and use the AWS CLI to get temporary security credentials. You can also configure the AWS CLI directly to authenticate users with IAM Identity Center.
To sign in through the AWS CLI with IAM Identity Center credentials
-
Check that you've completed the Prerequisites.
-
If you're signing in for the first time, configure your profile with the
aws configure sso
wizard. -
After you configure your profile, run the following command, then follow the prompts in your terminal.
$
aws sso login --profile
my-profile
Watch the following video for a demonstration of how to sign in to your AWS account from the AWS CLI with IAM Identity Center credentials.
Additional information
If you want more information about signing-in using the command-line, refer to the following resources.
-
For an details on using IAM Identity Center credentials, see Getting IAM Identity Center user credentials for the AWS CLI or AWS SDKs.
-
For detailed on configuration, see Configuring the AWS CLI to use AWS IAM Identity Center (successor to AWS Single Sign-On)
-
For more details on the AWS CLI sign-in process, see Signing in and getting credentials.