Getting “No AWS accounts are available to you” when using aws configure sso

  Kiến thức lập trình

I set up a user in AWS IAM Identity Center. When I run aws configure sso, I enter the session name, start url, region, and registration scope (it defaulted to sso:account:access so I just use that) and then I log in the browser with my user login, and after login success, I get “No AWS accounts are available to you.”

I notice after login, a file is created at /Users/[user]/.aws/sso/cache

I am trying to authenticate so that I can use “aws ecr get-login-password” to push a docker file to aws container registry.

LEAVE A COMMENT