benkehoe / aws-sso-util

Smooth out the rough edges of AWS SSO (temporarily, until AWS makes it better).
Apache License 2.0
973 stars 72 forks source link

"aws-sso-util logout" command is defaulting to the "us-east-1" region rather than the region we have defined in our environment #127

Open silk206 opened 1 month ago

silk206 commented 1 month ago

We have 4 organizations that are using AWS SSO with all individual SSO Instance IDS in both the govcloud and pubcloud regions.

When we have set "export AWS_DEFAULT_SSO_REGION="us-gov-west-1" and are targeting our govcloud instance, the aws-sso-util logout function still looks to be defaulting to us-east-1.

botocore.exceptions.SSLError: SSL validation failed for https://portal.sso.us-east-1.amazonaws.com/logout [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)