Use AWS SDK to load sso-session sections enable multiple sso users #530
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changed?
In order to support uses who login with multiple SSO users we needed to update our implementation of sso-session section support.
When it was first added, the AWS sdk did not yet have support for it, this has since been added so code related to loading those sections has been updated/removed in favour of the sdk.
Why?
How did you test it?
The following config is an example of how you can have 2 profiles that login to the same account with a different aws user by using an sso-session section for one of them.
You can also use an sso section for both your users and their config can be the same, they just need different names
Potential risks
Is patch release candidate?
Link to relevant docs PRs