% aws sso login
Missing the following required SSO configuration values: sso_start_url, sso_region.
To make sure this profile is properly configured to use SSO, please run: aws configure sso
Before running the AWS SSO Login command on the AWS CLI, you need to make sure that the profile is properly configured to use SSO. As you can see in the error, we are asked to run the aws configure sso command, so let's do that
% aws configure sso
SSO session name (Recommended): code2care
SSO start URL [None]: https://sso-code2care.org/aws
SSO region [None]: us-east-1
SSO registration scopes [sso:account:access]: sso:account:access
Using a browser, open the following URL:
https://device.sso.us-east-1.amazonaws.com/
and enter the following code: ACVX-2E12
There are 2 AWS accounts available to you.
> DeveloperAccount, developer-account-admin@code2care.org (123516729123)
ProductionAccount, production-account-admin@code2care.org (123516729124)
Using the account ID 123516729123
There are 2 roles available to you.
> ReadOnly
FullAccess
Using the role name "FullAccess"
CLI default client Region [None]: us-east-1
CLI default output format [None]: json
CLI profile name [123516729123_FullAccess]: dev-profile
-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to AWS,
- Create S3 bucket and upload files using AWS Toolkit for Visual Studio Code
- Get the total size and number of objects of a AWS S3 bucket and folders
- Create an S3 bucket in a specific AWS region using CLI Command
- [Solution] AWS Java SDK S3 AmazonS3Exception InvalidAccessKeyId
- Fix AWS CLI 2 SignatureDoesNotMatch Error - Signature we calculated does not match
- 573 List of reserved keywords in AWS DynamoDB
- Quick way to setup AWS DynamoDB locally on macOS
- [Solution] com.amazonaws.dynamodb.v20120810 MissingAuthenticationToken Key Id or X.509 certificate
- Quick way to install AWS CLI for macOS Terminal
- Setting and Updating AWS CLI Configuration
- AWS S3 CLI BucketAlreadyExists when calling CreateBucket Error make_bucket failed
- How to install AWS Toolkit for Visual Studio Code
- Create S3 bucket using AWS CLI Command mb
- Fix: zsh: command not found: aws (Mac/macOS)
- How to install AWS CLI on Ubuntu
- Fix: Amazon Linux bash: sudo: command not found
- How to Setup AWS Credentials using Visual Studio Code
- AW3 CLI command to get list of all region names
- Most Essencial AWS CLI 2 S3 ls Command Options
- Install AWS CLI using Brew Command
More Posts:
- 100+ SEO Tips to improve your website search ranking - HowTos
- How to enable root user on Mac Terminal - MacOS
- How to display directory tree in Mac Terminal - MacOS
- [fix] java: incompatible types: double cannot be converted to java.lang.Integer Generics - Java
- Error : Facebook SDK AndroidRuntime?FATAL EXCEPTION: main - Android
- Removing a key from Python Dict - Python
- How to enable line numbers in Eclipse IDE - Eclipse
- Error: LinkageError occurred while loading main class UnsupportedClassVersionError [Eclipse Java] - Java