feat(auth): Display second quickpick for SSO linked IAM profiles #7707
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.
Problem
For customers using SSO with IAM Identity Center, the select connection quickpick looks like this:

In this screenshot, I have 2 profiles configured to be using IdC, as well as 2 profiles using access keys at the bottom. In addition, there are the
PowerUserAccessIAM credentials that are associated with my SSO profiles, although it's not clear which one. It is also not clear to me that in order to be properly set up to use Toolkit features, I must select the IAM credential sourced from the IdC. This is backed up by data from the recently launched Console to IDE project (mostly launched in #7601) that shows that when entering the quickpick through the introduced URI handler, many customers fail with an error ofCredentialsProviderError: Profile <profile identifier> was not found.This error is a result of clicking the IdC profile when not logged in.Solution
To make it more clear that the user needs to select an IAM credential, this PR introduces a second quick pick that appears after the user has selected the IdC profile. The select connection quickpick now looks like this:


The update is that an IAM IdC profile with a linked role now displays that information. Upon clicking that option, a new quickpick appears:
Selecting this IAM credential does activate the correct profile and allows users to continue as if they'd selected it in the first quick pick.
This change is only based in the UI, and does not affect how these linkages are calculated.
feature/xbranches will not be squash-merged at release time.