Tyk v2.2 Documentation Components

HomeTyk v2.2 Documentation ComponentsTyk Identity Broker Configuration

Tyk Identity Broker Configuration

Tyk Identity Broker is configured through two files: The configuration file tib.conf and the profiles file profiles.json. TIB can also be managed via the REST API (detailed below) for automated configurations.

The tib.conf file

{
    "Secret": "test-secret",
    "HttpServerOptions": {
        "UseSSL": true,      
        "CertFile": "./certs/server.pem",
        "KeyFile": "./certs/server.key"
    },
    "BackEnd": {
        "Name": "in_memory",
        "IdentityBackendSettings": {
            "Hosts" : {
                "localhost": "6379"
            },
            "Password": "",
            "Database": 0,
            "EnableCluster": false,
            "MaxIdle": 1000,
            "MaxActive": 2000
        }
    },
    "TykAPISettings": {
        "GatewayConfig": {
            "Endpoint": "http://{GATEWAY-DOMAIN}",
            "Port": "80",
            "AdminSecret": "352d20ee67be67f6340b4c0605b044b7"
        },
        "DashboardConfig": {
            "Endpoint": "http://{DASHBOARD-DOMAIN}",
            "Port": "3000",
            "AdminSecret": "12345"
        }
    }
}

The various options for this configuration file are enumerated in detail below.

Was this article helpful to you? Yes No