-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-sso list
and aws-sso config-profile
hang forever
#1083
Comments
Mind trying the latest v2.0 beta available in the downloads section here on github? |
Thank you. Sure thing. Looks like same result, unfortunately. It has been on that output for 35 minutes now.
It feels like it is trying to launch a browser 🤷🏻♂️, rather than print the URL. I am running on this on a remote desktop over SSH, if that matters. |
Nope, not trying to launch a browser yet. My guess is your system can't talk to the AWS Identity Center OIDC endpoint when it makes the RegisterClient API call. Made you a custom binary with additional trace log information which should help: That said, I do see somewhat strange log and assuming the above binary hangs at:
Please add the line to your config.yaml:
And try again. FWIW, it should only take a second or so to complete the API call and print the next line. |
Thanks for this. I'll try now. Just a bit of background. My firewall doesn't block any outbound ports. This desktop is my work computer. Used 99.9% used over SSH (mini computer, always on, low power). It is my hub for Terraform, Git and AWSCLI. I have been copying and pasting the env vars from the SSO page to access each customer's accounts, but in looking for a smarter system, perplexity.ai sent me to this project. |
Thanks so much for your time.
Oh!! Was
It does have a sane default though. Odd I needed to set that to |
Just checked with
It must have been trying to use a keyring of some sort 🤷🏻♂️ |
Well, this is definitely a bug. Just to confirm, this is a native Ubuntu box and not running under Windows WSL? |
A bit of a relief that it wasn't an oversight by me that wasted your time 😃 Correct.
|
Output of
aws-sso version
:Describe the bug:
aws-sso config-profiles
aws-sso list
Hang forever.
To Reproduce:
aws-sso list -L trace
oraws-sso config-profile -L trace
Note: You do not need to redact AWS AccountIDs from outputs or config.
Per Amazon,
"While account IDs, like any identifying information, should be
used and shared carefully, they are not considered secret,
sensitive, or confidential information."
Expected behavior:
Either list of accounts or editing of my ~/.aws/config
Screenshots:
Desktop (please complete the following information):
Additional context:
I presume it should print a URL for me to use to setup my token.
Contents of
~/.aws-sso/config.yaml
:The text was updated successfully, but these errors were encountered: