-
Notifications
You must be signed in to change notification settings - Fork 59
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
go-prompt crashes on Windows outside of WSL #475
Comments
FYI, was not able to reproduce this on macOS. The fact I'm seeing |
@DainiusSal did you get a chance to try this under WSL? |
Hi, @synfinatic. Sorry for the late reply. I tried it out on WSL and it did work as expected. Seems like it is a Windows related issue. |
Thanks for confirming! FWIW, aws-sso support in windows is still a bit experimental at this point. Need to find a better Go library for dealing with interactive prompts that doesn't crash with Windows terminal limitations. |
Output of
aws-sso version
:Describe the bug:
When the cached AWS credentials for a chained role are outdated,
aws-sso exec
throws an error instead of updating the cached values.To Reproduce:
config.yaml
Expected behavior:
Cache is updated automatically and I am able to assume the role without errors.
Desktop:
Additional context:
If I delete
cache.json
- I can assume the role again until the credentials become invalid.Error output from
aws-sso exec
when assuming the role with outdated credentials:Contents of
~/.aws-sso/config.yaml
:The text was updated successfully, but these errors were encountered: