OpenAPITools / OpenAPITools/openapi-generator

[REQ] Use AWS STS regional endpoint instead of AWS Global Endpoint by default

Open
#19,871 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.