Toolkit Configurations - API Manager 2.6.0 - WSO2 Documentation

All docs This doc
||
Skip to end of metadata
Go to start of metadata

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.

HeadingDescriptionSub HeadingDescriptionDefault value
clientThe configurations of the Microgateway toolkit client when connecting with the WSO2 API Manager (WSO2 API-M) server to fetch API data.httpRequestTimeoutThe client request timeout in seconds1000000
tokenThe configuration required to get a valid token from WSO2 API-M in order to communicate with its secured REST APIs.publisherEndpointThe Publisher REST API URL of the WSO2 API-M server.
https://localhost:9443/api/am/publisher/v0.14
adminEndpointThe admin REST API URL of the WSO2 API-M server.
https://localhost:9443/api/am/admin/v0.14
registrationEndpointThe 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.
https://localhost:9443/client-registration/v0.14/register
tokenEndpointThe token endpoint of the WSO2 API-M server that is used to request tokens in order to communicate with REST APIs.
https://localhost:9443/oauth2/token
usernameThe 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.
clientIdThe 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.
clientSecretThe 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.
trustStoreLocationThe trust store location of the Microgateway toolkit.
trustStorePasswordEncoded value of the trust store password.
corsConfigurationThe Cross Origin Resource Sharing (CORS) related configuration used by the Microgateway runtimeaccessControlAllowOriginsSpecifies the allowed origins*
accessControlAllowCredentialsIncludes cookies on cross-origin requests.false
corsConfigurationEnabledDefined whether CORS support is enabled or not for the Microgateway.true
accessControlAllowHeadersAllowed headers.
["authorization", "Access-Control-Allow-Origin", "Content-Type", "SOAPAction"]
accessControlAllowMethodsAllowed HTTP methods.
["GET", "PUT", "POST", "DELETE", "PATCH", "OPTIONS"]

Sample

The following is a sample Microgateway toolkit configuration file.

  • No labels