-
Notifications
You must be signed in to change notification settings - Fork 372
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
Add sts_region parameter to auth.aws.configure #1136
Conversation
hvac/api/auth_methods/aws.py
Outdated
@@ -26,6 +26,7 @@ def configure( | |||
endpoint=None, | |||
iam_endpoint=None, | |||
sts_endpoint=None, | |||
sts_region=None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to move this to the end of the parameter list to avoid breaking users setting their arguments positionally.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1136 +/- ##
=======================================
Coverage 87.66% 87.66%
=======================================
Files 66 66
Lines 3227 3227
=======================================
Hits 2829 2829
Misses 398 398
|
Hi @ewanoomen , could you fix the linting errors and move the parameter to the end of the list? I think we could get this merged pretty quickly. |
Sorry for the late reply, I've moved the parameter and linting should be fixed as well |
Adds the sts_region parameter to auth.aws.configure to configure the parameter mentioned here: https://developer.hashicorp.com/vault/api-docs/auth/aws#sts_region
Resolves #1137