Describe the feature
As mentioned in this comment, you cannot use aws configure set to set sso-session parameters in the AWS config file.
The CLI should provide a mechanism to non-interactively set these values
Use Case
I'm trying to set up command line tools for multiple users in an organization, making it easy to use AWS SSO for their tooling.
I would like to be able to give them a script to run to add SSO config to their config files vs manual instructions.
Proposed Solution
Update aws configure to work with sso-session prefixes like this:
aws configure set sso-session.session-name.sso_region eu-west-1
(As shown by @ezzatron in #7364 (comment)).
Alternatively, update aws configure sso-session to allow non-interactive operation by allowing flags instead of passing in values interactively (this might make sense as a separate issue)
Other Information
No response
Acknowledgements
CLI version used
2.9.6
Environment details (OS name and version, etc.)
Mac OS Ventura
Describe the feature
As mentioned in this comment, you cannot use
aws configure setto setsso-sessionparameters in the AWS config file.The CLI should provide a mechanism to non-interactively set these values
Use Case
I'm trying to set up command line tools for multiple users in an organization, making it easy to use AWS SSO for their tooling.
I would like to be able to give them a script to run to add SSO config to their config files vs manual instructions.
Proposed Solution
Update
aws configureto work withsso-sessionprefixes like this:aws configure set sso-session.session-name.sso_region eu-west-1(As shown by @ezzatron in #7364 (comment)).
Alternatively, update
aws configure sso-sessionto allow non-interactive operation by allowing flags instead of passing in values interactively (this might make sense as a separate issue)Other Information
No response
Acknowledgements
CLI version used
2.9.6
Environment details (OS name and version, etc.)
Mac OS Ventura