providers/redis/docs/connections.rst
.. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
.. _howto/connection:redis:
The Redis connection type enables connection to Redis cluster.
Redis Hook uses parameter redis_conn_id for Connection IDs and the value of the
parameter as redis_default by default.
Host The host of the Redis cluster.
Port
Specify the port to use for connecting the Redis cluster (Default is 6379).
Login The user that will be used for authentication against the Redis cluster (only applicable in Redis 6.0 and above).
Password The password of the user that will be used for authentication against the Redis cluster.
DB
The DB number to use in the Redis cluster (Default is 0).
Enable SSL
Whether to enable SSL connection to the Redis cluster (Default is False).
SSL verify mode
Whether to try to verify other peers' certificates and how to behave if verification fails.
For more information, see: Python SSL docs <https://docs.python.org/3/library/ssl.html#ssl.SSLContext.verify_mode>_.
Allowed values are: required, optional, none.
CA certificate path
The path to a file of concatenated CA certificates in PEM format (Default is None).
Private key path
Path to an ssl private key (Default is None).
Certificate path
Path to an ssl certificate (Default is None).
Enable hostname check
If set, match the hostname during the SSL handshake (Default is False).