Open benkehoe opened 2 years ago
Thanks @benkehoe for creating these SSO feature requests! I’m going to remove the needs-triage labels since the team is aware of these requests and there has already been some discussion around them. Also we encourage others to 👍 the issue if they want to see that feature request implemented. Please let us know if you have any questions or feedback.
Describe the feature
Currently, AWS SSO configuration can only be provided through the
~/.aws/config
file directly.aws_sso_lib.get_boto3_session()
provides a mechanism for programmatically getting a boto3 session for a given AWS SSO session, but another possibility is to allow it to be defined through environment variables.Use Case
AWS SSO has a well-defined set of configuration parameters to define AWS access. There should be more ways to use this configuration.
Proposed Solution
Imagine that the following environment variables were supported:
If all four were defined, the SDK would use those as the credential provider.
Other Information
No response
Acknowledgements
SDK version used
N/A
Environment details (OS name and version, etc.)
N/A