summaryrefslogtreecommitdiff
path: root/redis/asyncio/client.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-03-14 14:43:37 +0200
committerGitHub <noreply@github.com>2022-03-14 14:43:37 +0200
commita12b5fd5e9af55e4668c78b50388c4ffb73fdda0 (patch)
treed9210a5b58284f65ca7afd5ad411a6857109315b /redis/asyncio/client.py
parenta081173b650dd73fca06d419156ab525bc1c2200 (diff)
downloadredis-py-a12b5fd5e9af55e4668c78b50388c4ffb73fdda0.tar.gz
Add support to use certificates from string in ssl connection (#2048)
* ssl string cert * fix async test * linters * change test name
Diffstat (limited to 'redis/asyncio/client.py')
-rw-r--r--redis/asyncio/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py
index 2afad0f..bbf2a67 100644
--- a/redis/asyncio/client.py
+++ b/redis/asyncio/client.py
@@ -163,6 +163,7 @@ class Redis(
ssl_certfile: Optional[str] = None,
ssl_cert_reqs: str = "required",
ssl_ca_certs: Optional[str] = None,
+ ssl_ca_data: Optional[str] = None,
ssl_check_hostname: bool = False,
max_connections: Optional[int] = None,
single_connection_client: bool = False,
@@ -228,6 +229,7 @@ class Redis(
"ssl_certfile": ssl_certfile,
"ssl_cert_reqs": ssl_cert_reqs,
"ssl_ca_certs": ssl_ca_certs,
+ "ssl_ca_data": ssl_ca_data,
"ssl_check_hostname": ssl_check_hostname,
}
)