Skip to content

API Manager Control Plane

Configuring APK for Existing API Manager Control Plane

  1. Configure supported gateway types in API Manager.

    Add following configuration to deployment.toml file to provide supported gateway types to API Manager. Here, need to provide the supported gateway types as APK.

        [apim]
        gateway_type = "Regular,APK"
    
        [apim]
        gateway_type = "APK"
    
  2. Change the default gateway environment if APK Only scenario.

    Add following configuration to deployment.toml file to provide APK gateway as the default gateway environment to API Manager. Here, need to provide the default gateway type as APK and other relevant configurations.

    [[apim.gateway.environment]]
    name = "Default"
    type = "hybrid"
    gateway_type = "APK"
    provider = "wso2"
    display_in_api_console = true
    description = "This is a hybrid gateway that handles both production and sandbox token traffic."
    show_as_token_endpoint_url = true
    service_url = "https://localhost:${mgt.transport.https.port}/services/"
    username= "${admin.username}"
    password= "${admin.password}"
    http_endpoint = "http://default.gw.wso2.com:9090"
    https_endpoint = "https://default.gw.wso2.com:9095"