Permit suppression of the `aws configure sso` example command
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Describe the feature
Concerning the [example printed](https://github.com/aws/aws-cli/blob/v2/awscli/customizations/configure/sso.py#L657) at the end of `aws configure sso`:
```
To use this profile, specify the profile name using --profile, as shown:
aws s3 ls --profile myProfile
```
Either:
- Add a flag to suppress it; or,
- Simply remove it, as it seems noisy to use a flag, and a suitably terse flag name is not obvious.
### Use Case
In our AWS configuration, `ListBuckets` is prohibited, so a user receives `AccessDenied` when running this command.
This confuses our staff (especially newcomers to the AWS CLI), who follow our setup instructions, run the suggested command (believing it to be a _test_), which then fails and they have the impression they made a mistake in the setup.
### Proposed Solution
_No response_
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CLI version used
aws-cli/2.22.4 Python/3.12.7 Darwin/23.6.0 source/arm64
### Environment details (OS name and version, etc.)
macOS 14
Contributor guide
Assessment
This issue has not been assessed yet.