Skip to content
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

Support SSO authentication #101

Open
ljacobsson opened this issue Aug 27, 2020 · 3 comments
Open

Support SSO authentication #101

ljacobsson opened this issue Aug 27, 2020 · 3 comments

Comments

@ljacobsson
Copy link

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:

  1. run aws sso login
  2. run 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.

@urz9999
Copy link

urz9999 commented Jan 14, 2021

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.

@iainelder
Copy link

Lumigo is using version 2.584.0 of aws-sdk.

"aws-sdk": "^2.584.0",

SSO support was added in version 3.7.0, released on 2021-02-25.

aws/aws-sdk-js-v3#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.

https://github.com/linaro-its/aws2-wrap

@benkehoe
Copy link

AWS SSO support has been added to the v2 SDK as of version 2.1093.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants