-
Notifications
You must be signed in to change notification settings - Fork 38
Add proxy settings for profile credentials provider #284
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Krish <>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #284 +/- ##
==========================================
+ Coverage 81.93% 81.95% +0.01%
==========================================
Files 36 36
Lines 7065 7067 +2
==========================================
+ Hits 5789 5792 +3
+ Misses 1276 1275 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| struct aws_credentials_provider_imds_options imds_options = { | ||
| .bootstrap = options->bootstrap, | ||
| .function_table = options->function_table, | ||
| }; | ||
|
|
||
| struct aws_credentials_provider *imds_provider = | ||
| aws_credentials_provider_new_imds(allocator, &imds_options); |
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.
do we need the proxy passed down to here as well?
| struct aws_credentials_provider_ecs_environment_options ecs_options = { | ||
| .bootstrap = options->bootstrap, | ||
| .function_table = options->function_table, | ||
| .tls_ctx = tls_ctx, | ||
| }; | ||
| struct aws_credentials_provider *ecs_provider = | ||
| aws_credentials_provider_new_ecs_from_environment(allocator, &ecs_options); | ||
| if (!ecs_provider) { | ||
| goto done; | ||
| } |
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.
ditto
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.