diff --git a/confidant/authnz/__init__.py b/confidant/authnz/__init__.py index 16fee461..c19543df 100644 --- a/confidant/authnz/__init__.py +++ b/confidant/authnz/__init__.py @@ -36,6 +36,9 @@ def _get_validator(): token_cache_size=settings.KMS_AUTH_TOKEN_CACHE_SIZE, stats=stats, endpoint_url=settings.KMS_URL, + max_pool_connections=settings.KMS_MAX_POOL_CONNECTIONS, + connect_timeout=settings.KMS_CONNECTION_TIMEOUT, + read_timeout=settings.KMS_READ_TIMEOUT, ) return _VALIDATOR diff --git a/requirements.in b/requirements.in index 0105b821..abdfd53e 100644 --- a/requirements.in +++ b/requirements.in @@ -143,7 +143,7 @@ statsd # License: Apache2 # Upstream url: https://github.com/lyft/python-kmsauth # Use: kmsauth support library -kmsauth +kmsauth==0.6.2 # License: Apache2 # Upstream url: https://pypi.python.org/pypi/toasted-marshmallow diff --git a/requirements3.txt b/requirements3.txt index 83c17542..24799a21 100644 --- a/requirements3.txt +++ b/requirements3.txt @@ -93,7 +93,7 @@ jmespath==0.10.0 # botocore jwcrypto==1.5.0 # via -r requirements.in -kmsauth==0.6.0 +kmsauth==0.6.2 # via -r requirements.in lru-dict==1.2.0 # via -r requirements.in