JorgeReus/aws-sso-creds

Missing required attributes Key: 'Config.Orgs' Error:Field validation for 'Orgs' failed on the 'required' tag

Closed this issue · 1 comments

Issue Description

I wanted to login to AWS using the "aws-sso-creds" command but it's throwing an error:
Missing required attributes Key: 'Config.Orgs' Error:Field validation for 'Orgs' failed on the 'required' tag

image

Steps to Reproduce

$ go install [github.com/JorgeReus/aws-sso-creds@latest](http://github.com/JorgeReus/aws-sso-creds@latest)
$ export AWS_SSO_REGION="us-west-2"
$ export AWS_SSO_START_URL="https://kezko.awsapps.com/start"
  1. $ aws-sso-creds
  2. Error showing on termial

Expected Behavior

I was expecting for the script to give me a url or something to log in into AWS profile in order to get the SSO creds.

Environment

  • Operating System: Windows 11 (it also happened in Ubuntu 23.04)
  • Go Version: go version go1.20.3 windows/amd64
  • Code/Project Version: 1.0.5

I had to use the Code/Project Version: 1.0.3 package in order to make it.