Open ljacobsson opened 4 years ago
In case like this one or other similar cases where AWS SSO result in incompatibilities with your library and you don't want to play with workarounds or complicated fixes, maybe you can give a try to our open-source project: https://github.com/Noovolari/leapp. It deals with AWS SSO authentication and accounts/roles retrieval then it creates short-lived temporary credentials in .aws/credentials to maximize compatibility with third party tools / sdks.
Lumigo is using version 2.584.0 of aws-sdk.
SSO support was added in version 3.7.0, released on 2021-02-25.
https://github.com/aws/aws-sdk-js-v3/issues/1158
https://github.com/aws/aws-sdk-js-v3/blob/main/CHANGELOG.md#370-2021-02-25
It would be convenient if you could update the SDK dependency to allow me to use SSO credentials as @ljacobsson describes.
In the meantime, I use aws2-wrap as a workaround.
AWS SSO support has been added to the v2 SDK as of version 2.1093.0
I want to be able to use lumigo-cli using AWS Single Sign-On auth, but it doens't appear to be working.
To reproduce:
aws sso login
lumigo-cli list-lambda
There's no official sdk support for it yet. In our tools we use this one until there's official support.