Used to define the global configuration and server collections for Redis.
|key_prefix||string||The key prefix for all data which is stored on the Redis server.|
|default_collection||string||The name of the default collection of Redis servers to be used.|
|collections||Array of collections|
Used to define the configuration for a collection of replicated Redis servers.
|name||string||The name of the redis collection.|
|matching_host||string||Any specific hosts (obtained from the Host header of the HTTP request) for which this collection should be used.|
This entry is only applicable to Redis collections being used for storing session data.
|The maximum number of pooled connections to a Redis server.|
|The maximum number of seconds a pooled connection can remain idle before the connection is closed.|
|The maximum number of seconds to wait for a connection to be established with a Redis server.|
|The maximum number of seconds to wait for a valid response from a Redis server.|
|The interval (in seconds) between health check requests sent to the Redis server.|
|servers||Array of servers|
Specifies the configuration information associated with the sharing of sessions across multiple DNS domains.
These entries are only applicable to Redis collections being used for storing session data.
|master_authn_server_url||string||The base URL of the master authentication server for this collection of Redis servers. The master authentication server, if specified, will be responsible for the generation of all new sessions for this collection. The entry should be of the format: |
|The maximum number of seconds that a session code, used when communicating the session information from the master authentication server, will remain valid.|
Used to define the configuration for the individual Redis servers within the collection.
|name||string||A label, or name, which is used to identify this server.|
|host||string||The server name or IP address of the Redis server.|
|The port on which the Redis server is listening for requests.|
|username||string||The name of the user which is used when authenticating to the Redis server.|
|password||string||The password which is used to access the Redis server.|
The SSL information associated with the Redis server.
|trust_certificates||Array of string||The PEM based certificates which are to be trusted when communicating with the Redis server. The trusted certificates should include the CA certificate for the Redis server certificate, as well as any intermediate certificates used to sign the client certificate (if mutual authentication is in use). SSL/TLS will not be used when communicating with the Redis server if no trust certificates are specified.|
|client_certificate||Array of string||The PEM based personal certificate files which will be used when performing mutual authentication with the resource server. These certificate files should include the private key, a certificate signed with the private key, and the signer certificate or signer certificate chain (if required).|
|sni||string||The Server Name Indication (SNI) value which is provided when establishing the SSL connection with the Redis server.|
redis: default_collection: redis-a key_prefix: iag-test- collections: - connect_timeout: 20 cross_domain_support: master_authn_server_url: https://mas.ibm.com master_session_code_lifetime: 150 health_check_interval: 200 idle_timeout: 100 io_timeout: 300 matching_host: www.webseal.ibm.com max_pooled_connections: 200 name: test-collection-session servers: - host: redis-a.ibm.com name: redis-a password: passw0rd username: testuser port: 6380 ssl: client_certificate: "@redis-a-client.pem" sni: redis-a.ibm.com trust_certificates: "@redis-a-ca.pem" - connect_timeout: 10 health_check_interval: 200 idle_timeout: 100 io_timeout: 300 max_pooled_connections: 200 name: test-collection-ratelimiting servers: - host: redis-b.ibm.com name: redis-b password: passw0rd username: user port: 6380 ssl: trust_certificates: "@redis-b-ca.pem"
Updated 5 months ago