[Feature] Add support for specifying SSO instance via -S/--sso flag for aws-sso-profile#1264
Merged
synfinatic merged 6 commits intosynfinatic:mainfrom Sep 2, 2025
Conversation
ca4d0ea to
188e9be
Compare
…S/--sso flag - enables specifying an sso instance when assuming a profile - enhances `aws-sso-profile` to accept `-S` or `--sso` flag - allows users to target specific sso instances for authentication
188e9be to
4373ad7
Compare
synfinatic
reviewed
Aug 28, 2025
docs/commands.md
Outdated
|
|
||
| The `-S` or `--sso` flag allows you to specify which SSO instance to use when you | ||
| have multiple SSO configurations. This is particularly useful when working with | ||
| multiple AWS organizations or when the profile name exists in multiple SSO instances. |
Owner
There was a problem hiding this comment.
don't think we actually support same profile name in multiple instances since profiles are global in the ~/.aws/config
- remove incorrect phase for support same profile name in multiple instances.
- Updates the PR link in the changelog for the `aws-sso-profile` feature to provide accurate reference.
e28510d to
64be27f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request adds support for specifying an SSO instance when using the
aws-sso-profileshell helper, making it easier to work with multiple AWS SSO configurations.The feature is available via the new
-S/--ssoflag, and usage instructions have been updated in the documentation.Example usage
Related
Changes:
-S/--ssoflag to theaws-sso-profileshell helper, allowing users to specify an SSO instance when assuming a profile. This enables seamless use with multiple AWS organizations or duplicate profile names. (internal/helper/bash_profile.sh,internal/helper/zshrc.sh,internal/helper/aws-sso.fish) [1] [2] [3]Documentation:
docs/commands.mdanddocs/quickstart.mdwith usage examples and explanations for the new-S/--ssoflag, clarifying its benefits and how to use it. [1] [2]Changelog:
-S/--ssoflag support in theaws-sso-profilehelper.