Skip to content

[v2] feat: Add account filtering in aws configure sso#9692

Open
frauniki wants to merge 1 commit into
aws:v2from
frauniki:add-configure-sso-search
Open

[v2] feat: Add account filtering in aws configure sso#9692
frauniki wants to merge 1 commit into
aws:v2from
frauniki:add-configure-sso-search

Conversation

@frauniki
Copy link
Copy Markdown

@frauniki frauniki commented Sep 1, 2025

Issue:

Description of changes:
Enable keyboard filtering when selecting AWS accounts during SSO configuration.
Users can now type to filter accounts by name, email, or ID.

$ aws configure sso
SSO session name (Recommended): test
There are 8 AWS accounts available to you.
Use arrow keys to navigate, type to filter, and press Enter to select.
Search: test_                                                  
> Test, test@example.com (012345678912)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@frauniki frauniki force-pushed the add-configure-sso-search branch 2 times, most recently from 2853a91 to 05ec09b Compare September 1, 2025 19:14
@frauniki
Copy link
Copy Markdown
Author

frauniki commented Sep 2, 2025

I cannot understand why this PR has been left unattended for so long.
#6205

This is undoubtedly a feature many AWS users need right now.
Even in my own environment, I already manage hundreds of AWS accounts and endure significant pain when running aws configure sso.
There must be customers managing thousands of AWS accounts. For them, aws configure sso must be causing unimaginable pain.

@Costya-Y
Copy link
Copy Markdown

Is there a way to bump the priority for this one?

@frauniki frauniki force-pushed the add-configure-sso-search branch from 0af1fc8 to cb9f004 Compare April 17, 2026 04:51
Signed-off-by: frauniki <frauniki@sinoa.jp>
@frauniki frauniki force-pushed the add-configure-sso-search branch from cb9f004 to fc6409d Compare April 17, 2026 04:54
masamaru0513 pushed a commit to masamaru0513/aws-cli that referenced this pull request May 22, 2026
Add FilterableSelectionMenuControl to allow users to filter accounts
by typing when running 'aws configure sso' with multiple accounts.

- Add FilterableSelectionMenuControl class to selectmenu.py
- Add enable_filter and no_results_message args to select_menu()
- Move 'from string import printable' to top-level imports
- Use enable_filter=True in _handle_multiple_accounts()
- Add tests for FilterableSelectionMenuControl

Generated by AI tools, and reviewed by masamaru0513

Fixes aws#8867
Related aws#9692
masamaru0513 added a commit to masamaru0513/aws-cli that referenced this pull request May 22, 2026
Add FilterableSelectionMenuControl to allow users to filter accounts
by typing when running 'aws configure sso' with multiple accounts.

- Add FilterableSelectionMenuControl class to selectmenu.py
- Add enable_filter and no_results_message args to select_menu()
- Move 'from string import printable' to top-level imports
- Use enable_filter=True in _handle_multiple_accounts()
- Add tests for FilterableSelectionMenuControl

Generated by AI tools, and reviewed by masamaru0513

Fixes aws#8867
Related aws#9692
masamaru0513 added a commit to masamaru0513/aws-cli that referenced this pull request May 22, 2026
Add FilterableSelectionMenuControl to allow users to filter accounts
by typing when running 'aws configure sso' with multiple accounts.

- Add FilterableSelectionMenuControl class to selectmenu.py
- Add enable_filter and no_results_message args to select_menu()
- Move 'from string import printable' to top-level imports
- Use enable_filter=True in _handle_multiple_accounts()
- Add tests for FilterableSelectionMenuControl

Generated by AI tools, and reviewed by masamaru0513

Fixes aws#8867
Related aws#9692
masamaru0513 added a commit to masamaru0513/aws-cli that referenced this pull request May 22, 2026
Add FilterableSelectionMenuControl to allow users to filter accounts
by typing when running 'aws configure sso' with multiple accounts.

- Add FilterableSelectionMenuControl class to selectmenu.py
- Add enable_filter and no_results_message args to select_menu()
- Move 'from string import printable' to top-level imports
- Use enable_filter=True in _handle_multiple_accounts()
- Add tests for FilterableSelectionMenuControl

Generated by AI tools, and reviewed by masamaru0513

Fixes aws#8867
Related aws#9692
masamaru0513 added a commit to masamaru0513/aws-cli that referenced this pull request May 22, 2026
Add FilterableSelectionMenuControl to allow users to filter accounts
by typing when running 'aws configure sso' with multiple accounts.

- Add FilterableSelectionMenuControl class to selectmenu.py
- Add enable_filter and no_results_message args to select_menu()
- Move 'from string import printable' to top-level imports
- Use enable_filter=True in _handle_multiple_accounts()
- Add tests for FilterableSelectionMenuControl

Generated by AI tools, and reviewed by masamaru0513

Fixes aws#8867
Related aws#9692
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

Successfully merging this pull request may close these issues.

3 participants