Documentation Documentation

MDCB Configuration Options

Setting up Tyk MDCB

Tyk MDCB is mainly configured using a single file - tyk_sink.conf. It only needs to be able to access your Redis and MongoDB databases.

Tyk MDCB has a separate license, which you can request from your account representative.

The configuration file

        "storage": {
            "type": "redis",
            "host": "localhost",
            "port": 6379
        "hash_keys": true,
        "analytics": {
            "mongo_url": "mongodb://localhost/tyk_analytics"
        "license": ""
        "server_options": {
            "use_ssl": false,
            "certificate": { "cert_file": <path>, "key_file": <path> },
            "min_version": 771
  • storage: This section describes your centralised Redis DB, this will act as your master key store for all of your clusters.

  • hash_keys: Set to true if you are using a hashed configuration install of Tyk, otherwise set to false.

  • analytics: This section must point to your MongoDB replica set and must be a valid mongoDB replica set URL.

  • license: Enter your license in this section so MDCB can start.

  • server_options: If use_ssl is set to true, you need to enter the cert_file and key_file path names for certificate, min_version should be the minimum TLS protocol version required from the client.

Values for TLS Versions

You need to use the following values for setting the TLS min_version:

TLS Version Value to Use
1.0 769
1.1 770
1.2 771