% 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,
- Get the total size and number of objects of a AWS S3 bucket and folders
- How to Create AWS SNS Topic using AWS CLI
- Fix: Amazon Linux bash: sudo: command not found
- [Solution] AWS Java SDK S3 AmazonS3Exception InvalidAccessKeyId
- Create an AWS User using CLI2 Command at a specific Path
- Fix: Missing the following required SSO configuration values: sso_start_url, sso_region
- Fix: zsh: command not found: aws (Mac/macOS)
- Configure AWS Access ID and Secret Keys using CLI on Mac
- Quick way to setup AWS DynamoDB locally on macOS
- Most Essencial AWS CLI 2 S3 ls Command Options
- How to Check AWS SNS Permissions using CLI
- AWS CLI Change Default Output Format
- How to install AWS CLI on Ubuntu
- Quick way to install AWS CLI for macOS Terminal
- Install AWS CLI using Brew Command
- AWS CLI Command to Get a List of SNS Topics
- Get List of AWS SNS Topic Subscriptions using CLI
- How to Setup AWS Credentials using Visual Studio Code
- Installing AWS CLI Version 2 on macOS Sonoma using Terminal
- AW3 CLI command to get list of all region names
- AWS SNS CLI Command Publish Message Attributes
- Create an S3 bucket in a specific AWS region using CLI Command
- [Fix] zsh: command not found: awscli [Mac Terminal]
- Understanding AWS Calculator: DynamoDB on-demand capacity
- [Solution] com.amazonaws.dynamodb.v20120810 MissingAuthenticationToken Key Id or X.509 certificate
More Posts:
- How to install PowerShell on Mac using Brew - Powershell
- How to fully uninstall Conda on Windows - HowTos
- Alternatives for Notepad++ on Mac in 2021 - NotepadPlusPlus
- [Ubuntu] Search a package and versions using apt command - Linux
- Fix: Error: Cannot find module /node-examples/init - JavaScript
- macOS say command text to speech using various voices and languages - MacOS
- Identify MySQL version in MySQL Command Line Prompt - MySQL
- Fix Windows Update Error Code: 0x80070643 - Windows