feat: add PowerShell support, non-interactive mode, account mapping, and default profile options #3
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.
Summary
This PR adds significant enhancements to the AWS SSO Profile Tool:
awsssoprofiletool.ps1) for Windows users-yflag (Bash) /-NoPrompt(PowerShell) for automation and CI/CD pipelines--map "FROM:TO"option to create shorter/custom profile names--default <profile>option to create a[default]profile mirroring a specific profileChanges
New Files
awsssoprofiletool.ps1- Full-featured PowerShell implementation with feature parity to Bash scriptEnhanced Features (awsssoprofiletool.sh)
-yflag for non-interactive mode (overwrites config and creates all profiles without prompts)--map "FROM:TO"option to map account names to shorter names in profile names--map "Infrastructure:Infra"createsInfraFooAccessinstead ofInfrastructureFooAccess--default <profile>option to create a[default]section mirroring a specific profile--profileflagDocumentation Updates (README.md)
Usage Examples
Bash (One-liner)
PowerShell (One-liner)
Test Plan