swagger-api / swagger-api/swagger-codegen
Use AWS STS regional endpoint instead of AWS Global Endpoint by default
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
I am from EKS team, for some EKS clusters where cuatomers are using Swagger-Codegen/ we have observed this user-agent Swagger-Codegen/1.0-SNAPSHOT/java defaults to using global STS endpoint rather than the regional STS endpoint for authentication.
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
Swagger-codegen version
N/A
Swagger declaration file content or url
N/A
Command line used for generation
N/A
Steps to reproduce
N/A
Related issues/PRs
N/A
Suggest a fix/enhancement
If you think these calls are made from swagger-api library here is the suggestion.
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.
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
No source file, test, reproduction steps, or command are identified. Start by tracing where generated Java clients or the Swagger-Codegen library make AWS STS authentication calls, then consult the linked AWS regionalized-endpoints guidance; done means the default uses the regional endpoint without breaking existing client generation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100