Hello, I have an app that used hashiVAult and here is how I get my secretes from vault
Dictionary<string, object> configVars = _vaultClient.V1.Secrets.KeyValue.V1.ReadSecretAsync(WebConfigurationManager.AppSettings[“VAULT_PATH”], _credentials[“backends”][“generic”].ToString()).Result.Data;
This line of code works fine and I am able to retrieve my secretes from vault. Until I add a new piece of code in a different file that is for the fire wall. The code looks something like following.
When I add this piece of code my vault line of the code throws a HttpRequestException exception.
Anyone know what might be causing this ?