Closed Mallear closed 10 months ago
Thanks for finding this bug! Can confirm I can reproduce when using the vanilla aws sso login
command.
Thank you also for the associated PR - I'm going to open a new branch/PR and push a fix along with a small refactor.
Hey,
I am using your tool to connect to my ECS tasks and use port forward for local development for months now and everything worked fine until I switched to authentication to AWS using SSO. Now, I still can connect to ECS task but port forwarding is failing with this error:
I can still select my cluster, service and task but when launching the port forwarding session, it fails.
To simplify the AWS SSO authentication mecanism and configuration, I am using aws-sso cli
Here is an example of my profile configuration:
And my ecsgo version:
By replacing this configuration with temporary keys given by AWS for this profile, the port forwarding is working. I guess something is wrong in the way ecsgo get credentials when using SSO ?