-
Notifications
You must be signed in to change notification settings - Fork 37
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
sts
endpoint - respect sts_regional_endpoints = regional
or AWS_STS_REGIONAL_ENDPOINTS
#631
Comments
hi @daniepi thanks for finding this out :) Off the top of my head I believe here is a good starting point. https://github.com/paws-r/paws/blob/main/paws.common/R/config.R I am happy to help with PR with you. First I have to address #632 so that paws.common isn't removed from the cran. |
@daniepi Based on the tips from @DyfanJones and the AWS docs for this at https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html :
|
On the issue we're having where STS in the backend should use the regional endpoint, here is the call to assume role in the backend assuming role automatically with Region there is hardcoded, that seems not good and suggest also that changes. Anyway, it's this one here which needs to respect the regional endpoint as discussed above. If the above is implemented it seems like that should be covered. |
@DyfanJones I'm starting on implementing the fix for this. Can I push to branch here directly or do I need to fork? Tried to push but got access denied. Thanks! |
Hi @joakibo thanks for taking this on, really appreciate the help. Please fork. The easiest way is to fork and then branch on your fork. Once ready it should be fairly straight forward to create a PR. If you need any help with forking and branching please let me know :) |
I have created the PR, please have a look, need some input on strategy and availability of R functions. |
Hi,
Thanks for developing and mainting
paws
packages. It seems like AWS configsts_regional_endpoints = regional
and/or envvarAWS_STS_REGIONAL_ENDPOINTS
are not respected bypaws
. Returned endpoint is not of formbut default
This should be (hopefully) a simple fix. I can try to create PR, but would need some guidance on where exactly in the code base implement this. Thanks a lot!
The text was updated successfully, but these errors were encountered: