You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently work in an organization where I have over 30 roles. When I use gimme-aws-creds, I want to activate all of them without having to type out "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30". I propose allowing users to type "a" or "all" to activate all roles.
Expected Behavior
I work in an organization where I have over 30+ roles; I'd like to have a way to select all profiles without having to type out 1-to-30 in a comma separated string.
Current Behavior
Current behavior: If a user has 30 roles to activate, they would have to type out 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 in the role selection screen.
Proposed behavior: I propose to allow users to type "A" or "All" to select all roles.
Possible Solution
Method _get_user_int_selections_many in main.py tests for non-integer values provided by the user L424-435
I propose modifying the logic in this method to:
a) Modify the "Selections (comma separated)" message to also indicate that users can specify "A" to select all
b) Modify the logic to detect when "a" or "all" is provided and populate the selections set with all the values in min_int and max_int range
Context
I work in an organization where I have over 30 roles to work with; I need to activate any number of profiles when I start my day and I prefer to activate all the profiles and just export AWS_PROFILE=<whatever profile I'm working with>; rather than typing out "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30" I want to just type "a" or "all"; this would save a lot of typing.
Your Environment
App Version used: 2.8.2
Environment name and version: Python 3.11.0
Operating System and version: MacOS 14.6.1 (23G93)
The text was updated successfully, but these errors were encountered:
Update: PR available in #473
I currently work in an organization where I have over 30 roles. When I use gimme-aws-creds, I want to activate all of them without having to type out "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30". I propose allowing users to type "a" or "all" to activate all roles.
Expected Behavior
I work in an organization where I have over 30+ roles; I'd like to have a way to select all profiles without having to type out 1-to-30 in a comma separated string.
Current Behavior
Current behavior: If a user has 30 roles to activate, they would have to type out 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 in the role selection screen.
Proposed behavior: I propose to allow users to type "A" or "All" to select all roles.
Possible Solution
Method _get_user_int_selections_many in main.py tests for non-integer values provided by the user L424-435
I propose modifying the logic in this method to:
a) Modify the "Selections (comma separated)" message to also indicate that users can specify "A" to select all
b) Modify the logic to detect when "a" or "all" is provided and populate the selections set with all the values in min_int and max_int range
Context
I work in an organization where I have over 30 roles to work with; I need to activate any number of profiles when I start my day and I prefer to activate all the profiles and just export AWS_PROFILE=<whatever profile I'm working with>; rather than typing out "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30" I want to just type "a" or "all"; this would save a lot of typing.
Your Environment
The text was updated successfully, but these errors were encountered: