Skip to content

add interactive profile and provider management - #1

Merged
Eraz1997 merged 3 commits into
mainfrom
zealous-falcon
Aug 12, 2026
Merged

add interactive profile and provider management#1
Eraz1997 merged 3 commits into
mainfrom
zealous-falcon

Conversation

@Eraz1997

Copy link
Copy Markdown
Owner

Summary

  • Add interactive selection prompts (matching awsb use) to every command that takes an optional provider/profile name: get, remove, rename, and providers sign-in -s.
  • Add profiles edit and providers edit commands to modify existing providers and profiles, with optional flags (--region, --url, --provider, --account-id, --role) to skip the prompts.
  • Make add commands interactive when one or more required flags are omitted.
  • Sort providers list results alphabetically (profiles were already sorted).

Why

Managing SSO providers and profiles currently forces users to remember exact names and pass them as arguments. Interactive selection makes everyday commands faster and less error-prone, while the new edit commands allow fixing a misconfigured provider or profile without deleting and re-adding it.

Testing

  • cargo fmt --check
  • cargo clippy -- -D warnings
  • cargo test
  • cargo build
  • Manual verification in an isolated ~/.aws/config: add/list/edit/rename providers and profiles, confirming sorted list output and that editing a provider propagates region/URL to linked profiles.

@Eraz1997
Eraz1997 merged commit 4a745ec into main Aug 12, 2026
1 check passed
@Eraz1997
Eraz1997 deleted the zealous-falcon branch August 12, 2026 06:59
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.

1 participant