OpenAPITools / OpenAPITools/openapi-generator
[REQ] Use AWS STS regional endpoint instead of AWS Global Endpoint by default
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
I am from EKS team, for some EKS clusters where cuatomers are using OpenAPI-Generator we have observed this user-agent OpenAPI-Generator/29.0.0/python defaults to using global STS endpoint rather than the regional STS endpoint.
It is recommended to use the AWS regional endpoint rather than the global endpoint. This ensures better performance and compliance with AWS best practices.
https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html
Describe the solution you'd like
We propose use the AWS regional STS endpoint by default instead of the global endpoint to enhance performance, reduce latency, and align with AWS best practices.
Additional context
Switching to regional endpoints can improve response times, reduce load on the global endpoint, and follow best practices for optimized resource usage.
Note
If you think this is irrelevant feel free to close this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue body and the linked AWS regionalized-endpoints guidance, then locate the generator entry point that sets the STS endpoint default for the affected Python output. Done means generated clients use the regional endpoint by default; no file or test is named, so repository investigation is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, openapi, python
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100