Credential resolvers that use AWS services (e.g,. STS / SSO) should use configured endpoint #311
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Background
The configured endpoint feature for SDKs requires the ability to configure the endpoint to use for service clients using environment variables and properties in the shared config file.
Swift SDK depends on aws-crt-swift for credential resolution, and to support configured endpoint, that means credential resolvers in CRT that use service clients must respect the configured endpoint spec as well.
The order of resolution for configured endpoint is as follows:
AWS_ENDPOINT_URL_<SERVICE>
.<SERVICE>
here is the uppercased version of corresponding service identifier in this official list.AWS_ENDPOINT_URL
.Task
The STS credential resolver, SSO credential resolver, and default chain credential resolver which has STS in its chain should respect the endpoint configured in the env var & shared config file if present.
Use Case
For customers that want to configure endpoint for STS or SSO for their usage of Swift SDK.
Proposed Solution
No response
Other Information
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: