Authenticate in the other direction with jwtproxy

This commit is contained in:
Evan Cordell 2016-04-21 15:27:00 -05:00 committed by Jimmy Zelinskie
parent da0a988650
commit 9e7a501dae
4 changed files with 17 additions and 3 deletions

View file

@ -257,4 +257,5 @@ class SecurityScannerAPI(object):
with CloseForLongOperation(self.config):
logger.debug('%sing security URL %s', method.upper(), url)
return client.request(method, url, json=body, params=params, timeout=timeout,
cert=self._keys, verify=self._certificate, headers=headers)
cert=self._keys, verify=self._certificate, headers=headers,
proxies=security_config.get('PROXY'))