Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use AWS STS regional endpoint instead of AWS Global Endpoint by default #12475

Open
sushanth0910 opened this issue Oct 15, 2024 · 0 comments
Open

Comments

@sushanth0910
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant