This documentation is for the API Microgateway component that is coupled with WSO2 API Manager 2.6.0.
View the documentation for the latest release - WSO2 API Microgateway 3.0.1.
The following are the configurations with regard to the Microgateway toolkit.
|Heading||Description||Sub Heading||Description||Default value|
|The configurations of the Microgateway toolkit client when connecting with the WSO2 API Manager (WSO2 API-M) server to fetch API data.||The client request timeout in seconds||1000000|
|The configuration required to get a valid token from WSO2 API-M in order to communicate with its secured REST APIs.||The Publisher REST API URL of the WSO2 API-M server.|
|The admin REST API URL of the WSO2 API-M server.|
|The dynamic client registration endpoint URL of the the WSO2 API-M server. This is used to create an OAuth app in the WSO2 API-M server in order to request tokens.|
|The token endpoint of the WSO2 API-M server that is used to request tokens in order to communicate with REST APIs.|
|The username of the user that is authenticated in the WSO2 API-M server in order request details from REST APIs.||This value gets automatically filled when the user enters data via the CLI. You can specify a username as well, so that then the CLI only asks the user for a password.|
|The client ID of the application that is created on the WSO2 API-M server. This value will also be automatically created when the user adds values via the CLI. You can override the value here in order to be able to use an already existing application rather than creating a new OAuth Application.|
|The client secret of the application. his value will also be automatically created when the user adds values via the CLI. You can override the value of the client secret here.|
|The trust store location of the Microgateway toolkit.|
|Encoded value of the trust store password.|
|The Cross Origin Resource Sharing (CORS) related configuration used by the Microgateway runtime||Specifies the allowed origins||*|
|Includes cookies on cross-origin requests.||false|
|Defined whether CORS support is enabled or not for the Microgateway.||true|
|Allowed HTTP methods.|
The following is a sample Microgateway toolkit configuration file.