You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HttpConnection class provides a protected virtual method named CreateWebRequest. I can extend HttpConnection and override this method to add the Authorization header. This works great. In fact there's a Nuget package which does exactly this. See their AwsHttpConnection implementation.
However, ElasticSearch.Net has a different implementation of HttpConnection for .NET Core which does not provide this same "hook". The CreateHttpRequestMessage method is private static. I can't figure out a way to add the Authorization header required to use NEST to for ES on AWS.