public bool TestVaultConnection() { if (_vaultClient == null) { return(false); } try { var response = _vaultClient.InvokeMethodFull(Method.GET, $"v1/{_configuration[MountPointName]}/config"); _logger.Information($"Test vault connection for {DisplayName}: Result = {response.Body}"); return(true); } catch (Exception ex) { _logger.Error(ex, $"Failed the connection test for {DisplayName}: {ex.Message}."); return(false); } }