Closed
Description
Should/do we want to add support for passing basic auth credentials using SecureString?
This has come up in the past and now recently in https://discuss.elastic.co/t/nest-client-with-basicauthentication-and-securestring/69565
It seems like it's feasible- quickly taking a look, we would need to use NetworkCredential, which both HttpClient
and HttpWebRequest
support, rather than manually adding to the request headers as we do now.
The tricky bit would be supporting both string
and SecureString
, as I'd imagine we'd want to do, and also backporting without breaking backwards compatibility.
Metadata
Metadata
Assignees
Labels
No labels