No ability to list accounts after initial "aws configure sso"
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Describe the feature
After going through "aws configure sso" customer is presented with the list of the accounts related to his identity. After customer chooses the account, he proceeds with login into respective account. However, if customer would like to login into another account, he again needs to go through the sequence of "aws configure sso".
There doesn't seem to be a way to list the accounts which were retrieved initially during invocation of "aws configure sso"
### Use Case
Users should be able to list the accounts retrieved by initial invocation of "aws configure sso". This would ease the changing between accounts, without necessity of going through "aws configure sso" workflow.``
### Proposed Solution
Add an option which would list initially retrieved account list when issuing "aws configure sso". eg. `aws configure sso list-accounts`
Since the list of the assigned accounts could change over time, probably it would make sense to add some purge/timeout parameter in global settings:
`sso-account-list-expiry=3600`
If the command is issued after particular timeout period, return an error message
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CLI version used
2.31.38
### Environment details (OS name and version, etc.)
MacOS 15.7.2 (24G325)
Contributor guide
Assessment
This issue has not been assessed yet.